Expiration
These parameters define the expiration settings.
services.CoAuthoring.expire.filesCron
Type: string Default: "00 00 */1 * * *"
Defines the time for check starting (every hour by default).
services.CoAuthoring.expire.documentsCron
Type: string Default: "0 */2 * * * *"
Defines the time for starting check, during which old files are deleted from the cache (every two minutes by default).
services.CoAuthoring.expire.files
Type: integer Default: 86400
Defines the time of life for the folders in App_Data.
services.CoAuthoring.expire.filesremovedatonce
Type: integer Default: 100
Defines the number of simultaneously deleted document folders from the cache.
services.CoAuthoring.expire.sessionidle
Type: string Default: "1h"
Defines the inactive session lifetime. This parameter allows ending editing session for an idle user. It is also used to initialize document saving procedure by terminating the last editing session. So, it defines the time after which an inactive user will be disconnected from the editing session. Its value format is "1s", "1m", "1h", "1d" etc.
Please note that by inactivity, we mean the absence of any action in the editor, including cursor movement.
services.CoAuthoring.expire.sessionabsolute
Type: string Default: "30d"
Defines the lifetime for any editing session.
services.CoAuthoring.expire.changeindex
Type: integer Default: 86400
Defines the time for changing indexes.
services.CoAuthoring.expire.forcesave
Type: integer Default: 604800
Defines the time of life for the forcesaving executed with success.
services.CoAuthoring.expire.forcesaveLock
Type: integer Default: 5000
Defines the time of life for the forcesaved locks in the ioredis cluster mode.
services.CoAuthoring.expire.lastsave
Type: integer Default: 604800
Defines the time of life for the last database save executed with success.
services.CoAuthoring.expire.lockDoc
Type: integer Default: 30
Defines the time for locking documents.
services.CoAuthoring.expire.locks
Type: integer Default: 604800
Defines the time of life for the locks.
services.CoAuthoring.expire.message
Type: integer Default: 86400
Defines the time of life for the messages.
services.CoAuthoring.expire.monthUniqueUsers
Type: string Default: "1y"
Defines the time of life for the list of the month unique users.
services.CoAuthoring.expire.pemCheckPeriod
Type: string Default: "10m"
Defines the time for checking the PEM files ttl.
services.CoAuthoring.expire.pemStdTTL
Type: string Default: "1h"
Defines the time of life for the PEM files with secrets.
services.CoAuthoring.expire.presence
Type: integer Default: 300
Defines the time of life for the user presence status.
services.CoAuthoring.expire.saved
Type: integer Default: 3600
Defines the time of life for the database save executed with success.
services.CoAuthoring.expire.saveLock
Type: integer Default: 60
Defines the time for saving locks.
services.CoAuthoring.expire.sessionclosecommand
Type: string Default: "2m"
Defines the time before the sessionidle or sessionabsolute ttl expires when a warning message is sent.
services.CoAuthoring.expire.updateVersionStatus
Type: string Default: "5m"
Defines the time when the user can open the file again after an error occurs due to opening an already saved file using the old key.
Example
{
"services": {
"CoAuthoring": {
"expire": {
"saveLock": 60,
"presence": 300,
"locks": 604800,
"changeindex": 86400,
"lockDoc": 30,
"message": 86400,
"lastsave": 604800,
"forcesave": 604800,
"forcesaveLock": 5000,
"saved": 3600,
"documentsCron": "0 */2 * * * *",
"files": 86400,
"filesCron": "00 00 */1 * * *",
"filesremovedatonce": 100,
"sessionidle": "1h",
"sessionabsolute": "30d",
"sessionclosecommand": "2m",
"pemStdTTL": "1h",
"pemCheckPeriod": "10m",
"updateVersionStatus": "5m",
"monthUniqueUsers": "1y"
}
}
}
}