How to change autosave interval #2827
-
|
Currently the autosave interval is 120 sec, is it possible to change the interval? I tried to add to docker compose in env WEB_OPTION_editor__autosaveInterval: 20 # value in seconds but it did not change anything, messing around with web-config.json neither The problem: When I share a file and it is edited on mobile, it is easy to close the browser or move away from the file and everything is lost. 120 sec is quite long! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Use the exact flat env var names from the web service config: environment:
WEB_OPTION_EDITOR_AUTOSAVE_ENABLED: "true"
WEB_OPTION_EDITOR_AUTOSAVE_INTERVAL: "20"The double-underscore form such as One more gotcha: if |
Beta Was this translation helpful? Give feedback.
Use the exact flat env var names from the web service config:
The double-underscore form such as
WEB_OPTION_editor__autosaveIntervalwill not map to this option.One more gotcha: if
WEB_UI_CONFIG_FILEis set, the JSON config file takes precedence over env vars. In that case, put the editor autosave option in that JSON file instead, or remove the file override. Then restart the web container/service and inspect the effective web config/logs.