overleaf/services/docstore/app/js
Jakob Ackermann 8a8a830ad3 [misc] simplify mongodb collection access using a shared db construct
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.
2020-09-17 15:39:44 +01:00
..
DocArchiveManager.js Replace tiny-async-pool with p-map 2020-09-14 16:34:34 +01:00
DocManager.js prettier auto-format 2020-05-28 15:20:54 +02:00
Errors.js Implement object-persistor support 2020-07-23 19:42:49 +01:00
HealthChecker.js [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00
HttpController.js [misc] fix express deprecations 2020-07-02 14:48:11 +01:00
mongodb.js [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00
MongoManager.js [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00
PersistorManager.js Upgrade metrics to @overleaf/metrics' 2020-09-10 18:07:14 +01:00
RangeManager.js [misc] migrate the app to the native mongo driver 2020-08-25 09:40:59 +01:00