Skip to content

Commit c99c48b

Browse files
authored
improve docs
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
1 parent 57f8283 commit c99c48b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Options/Definitions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ module.exports.ParseServerOptions = {
260260
extendSessionOnUse: {
261261
env: 'PARSE_SERVER_EXTEND_SESSION_ON_USE',
262262
help:
263-
"Whether Parse Server should automatically extend a valid session by the sessionLength. The session will be extended when a request is received after half of the session's lifetime has passed.",
263+
"Whether Parse Server should automatically extend a valid session by the sessionLength. In order to reduce the number of session updates in the database, a session will only be extended when a request is received after at least half of the current session's lifetime has passed.",
264264
action: parsers.booleanParser,
265265
default: false,
266266
},

src/Options/docs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Options/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export interface ParseServerOptions {
228228
/* Session duration, in seconds, defaults to 1 year
229229
:DEFAULT: 31536000 */
230230
sessionLength: ?number;
231-
/* Whether Parse Server should automatically extend a valid session by the sessionLength. The session will be extended when a request is received after half of the session's lifetime has passed.
231+
/* Whether Parse Server should automatically extend a valid session by the sessionLength. In order to reduce the number of session updates in the database, a session will only be extended when a request is received after at least half of the current session's lifetime has passed.
232232
:DEFAULT: false */
233233
extendSessionOnUse: ?boolean;
234234
/* Default value for limit option on queries, defaults to `100`.

0 commit comments

Comments
 (0)