mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
8a8a830ad3
Resolve the getCollection Promises once and store the result in a shared `db` object which can get imported by all the call-sites. The http server is starting only after a Promise of `waitForDb()` resolves. This covers the app code and the acceptance tests. |
||
---|---|---|
.. | ||
DocArchiveManager.js | ||
DocManager.js | ||
Errors.js | ||
HealthChecker.js | ||
HttpController.js | ||
mongodb.js | ||
MongoManager.js | ||
PersistorManager.js | ||
RangeManager.js |