Skip to content

Commit b04f294

Browse files
authored
Update src/Options/Definitions.js
Signed-off-by: Manuel <[email protected]>
1 parent 9240ce5 commit b04f294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Options/Definitions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ module.exports.DatabaseOptions = {
974974
schemaCacheTtl: {
975975
env: 'PARSE_SERVER_DATABASE_SCHEMA_CACHE_TTL',
976976
help:
977-
'The TTL for caching the schema for optimizing read/write operations. You should put a long TTL when your DB is in production',
977+
'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`. By default this option is disabled and the schema cache never expires.',
978978
action: parsers.numberParser('schemaCacheTtl'),
979979
},
980980
};

0 commit comments

Comments
 (0)