overleaf/services/filestore/app/js/PersistorManager.js
Jakob Ackermann 8fa676082e Merge pull request #20299 from overleaf/jpa-object-persistor-metrics-dep
[object-persistor] depend on @overleaf/metrics directly

GitOrigin-RevId: eb0c07af8101d44def14154abb552bc77254e074
2024-09-24 08:05:50 +00:00

9 lines
277 B
JavaScript

const settings = require('@overleaf/settings')
const persistorSettings = settings.filestore
persistorSettings.paths = settings.path
const ObjectPersistor = require('@overleaf/object-persistor')
const persistor = ObjectPersistor(persistorSettings)
module.exports = persistor