Page 1 of 1

Document Server Files caching

PostPosted: Fri Dec 01, 2017 7:44 am
by ExaconAT
Hello,

what should i set at this part of the config, to enable Cache file deletion after, 30 Minutes (when there is no on logged in, or was in this time)

Little bit tweaked but wont work
/etc/onlyoffice/documentserver/default.json:

"saveLock": 60,
"presence": 300,
"locks": 604800,
"changeindex": 86400,
"lockDoc": 30,
"message": 86400,
"lastsave": 604800,
"forcesave": 604800,
"saved": 3600,
"documentsCron": "1 * * * *",
"files": 3600,
"filesCron": "1 * * * *",
"filesremovedatonce": 100,
"sessionidle": "0",
"sessionabsolute": "0",
"sessionclosecommand": "2m",
"pemStdTTL": "1h",
"pemCheckPeriod": "10m"

BR

Re: Document Server Files caching

PostPosted: Mon Dec 04, 2017 8:55 am
by Maxim
Hello ExaconAT!

Code: Select all
"documentsCron": "1 * * * *",
"files": 3600,
"filesCron": "1 * * * *",


do not change "documentsCron"
you should change "files": 1800 (in seconds 60secx30min=1800sec)
filesCron - time when the delete process will be applied (once in 10 min)