Try the fastest and simplest way to install ONLYOFFICE

Document Server Files caching

Issues during installation, usage and configuring

Document Server Files caching

Postby 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
ExaconAT
 
Posts: 3
Joined: Fri Nov 24, 2017 7:46 am

Re: Document Server Files caching

Postby 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)
Maxim
 
Posts: 1237
Joined: Tue Oct 11, 2016 2:34 pm


Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 1 guest