mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 17:42:19 -05:00
73b17dd694
[all] node 20 upgrade v2 GitOrigin-RevId: aed13a800894717a796062e3dd4050e045040258
21 lines
433 B
JavaScript
21 lines
433 B
JavaScript
const http = require('node:http')
|
|
http.globalAgent.maxSockets = 300
|
|
http.globalAgent.keepAlive = false
|
|
|
|
module.exports = {
|
|
internal: {
|
|
contacts: {
|
|
port: 3036,
|
|
host: process.env.LISTEN_ADDRESS || '127.0.0.1',
|
|
},
|
|
},
|
|
|
|
mongo: {
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || '127.0.0.1'}/sharelatex`,
|
|
options: {
|
|
monitorCommands: true,
|
|
},
|
|
},
|
|
}
|