Document Server Files caching

Issues during installation, usage and configuring
Post Reply
ExaconAT
Posts: 3
Joined: Fri Nov 24, 2017 7:46 am

Document Server Files caching

Post by ExaconAT » Fri Dec 01, 2017 7:44 am

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

Maxim
Posts: 1790
Joined: Tue Oct 11, 2016 2:34 pm

Re: Document Server Files caching

Post by Maxim » Mon Dec 04, 2017 8:55 am

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)

Post Reply