overleaf/services/docstore/app/js/PersistorManager.js

10 lines
293 B
JavaScript
Raw Normal View History

const settings = require('@overleaf/settings')
2020-07-23 14:42:49 -04:00
const persistorSettings = settings.docstore
2020-09-10 13:07:14 -04:00
persistorSettings.Metrics = require('@overleaf/metrics')
2020-07-23 14:42:49 -04:00
const ObjectPersistor = require('@overleaf/object-persistor')
const persistor = ObjectPersistor(persistorSettings)
module.exports = persistor