mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 19:21:51 +00:00
b59326e96f
Use mongo command monitoring to add timing metrics GitOrigin-RevId: e7e5dd5cca1ba3802c02198ccf81058d4da3f1e7
17 lines
334 B
JavaScript
17 lines
334 B
JavaScript
module.exports = {
|
|
internal: {
|
|
notifications: {
|
|
port: 3042,
|
|
host: process.env.LISTEN_ADDRESS || 'localhost',
|
|
},
|
|
},
|
|
|
|
mongo: {
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`,
|
|
options: {
|
|
monitorCommands: true,
|
|
},
|
|
},
|
|
}
|