You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'The MongoDB driver option to specify the amount of time in milliseconds to wait for a connection attempt to finish before trying the next address when using the autoSelectFamily option. If set to a positive integer less than 10, the value 10 is used instead.',
'The MongoDB driver option to specify an array or comma-delimited string of compressors to enable network compression for communication between this client and a mongod/mongos instance.',
'The MongoDB driver option to instruct the driver it is connecting to a load balancer fronting a mongos like service.',
1214
+
action: parsers.booleanParser,
1215
+
},
1216
+
localThresholdMS: {
1217
+
env: 'PARSE_SERVER_DATABASE_LOCAL_THRESHOLD_MS',
1218
+
help:
1219
+
'The MongoDB driver option to specify the size (in milliseconds) of the latency window for selecting among multiple suitable MongoDB instances.',
1220
+
action: parsers.numberParser('localThresholdMS'),
1221
+
},
1222
+
maxConnecting: {
1223
+
env: 'PARSE_SERVER_DATABASE_MAX_CONNECTING',
1224
+
help:
1225
+
'The MongoDB driver option to specify the maximum number of connections that may be in the process of being established concurrently by the connection pool.',
'The duration in seconds after which the schema cache expires and will be refetched from the database. Use this option if using multiple Parse Servers instances connected to the same database. A low duration will cause the schema cache to be updated too often, causing unnecessary database reads. A high duration will cause the schema to be updated too rarely, increasing the time required until schema changes propagate to all server instances. This feature can be used as an alternative or in conjunction with the option `enableSchemaHooks`. Default is infinite which means the schema cache never expires.',
'The MongoDB driver option to specify the amount of time, in milliseconds, spent attempting to send or receive on a socket before timing out. Specifying 0 means no timeout.',
1224
1329
action: parsers.numberParser('socketTimeoutMS'),
1225
1330
},
1331
+
srvMaxHosts: {
1332
+
env: 'PARSE_SERVER_DATABASE_SRV_MAX_HOSTS',
1333
+
help:
1334
+
'The MongoDB driver option to specify the maximum number of hosts to connect to when using an srv connection string, a setting of 0 means unlimited hosts.',
1335
+
action: parsers.numberParser('srvMaxHosts'),
1336
+
},
1337
+
srvServiceName: {
1338
+
env: 'PARSE_SERVER_DATABASE_SRV_SERVICE_NAME',
1339
+
help: 'The MongoDB driver option to modify the srv URI service name.',
1340
+
},
1341
+
ssl: {
1342
+
env: 'PARSE_SERVER_DATABASE_SSL',
1343
+
help:
1344
+
'The MongoDB driver option to enable or disable TLS/SSL for the connection (equivalent to tls option).',
1345
+
action: parsers.booleanParser,
1346
+
},
1347
+
tls: {
1348
+
env: 'PARSE_SERVER_DATABASE_TLS',
1349
+
help: 'The MongoDB driver option to enable or disable TLS/SSL for the connection.',
0 commit comments