summaryrefslogtreecommitdiff
path: root/settings.json.template
diff options
context:
space:
mode:
authorLuiza Pagliari <lpagliari@gmail.com>2017-04-04 11:09:24 -0300
committerLuiza Pagliari <lpagliari@gmail.com>2017-04-04 11:09:24 -0300
commit009cd3124370d44a9c567332bf3be63826fd95b4 (patch)
tree233f9fe1f26a5188d42461139d862bd7ff30029f /settings.json.template
parented029b599ee83edefd37b14dc44275b24316bf91 (diff)
downloadetherpad-lite-009cd3124370d44a9c567332bf3be63826fd95b4.zip
[feature] Create option to automatically reconnect after a few seconds
On some erros that display a modal with "Force reconnect" button, allow Etherpad to automatically reload pad after a few seconds. Amount of seconds is defined on settings.json. Still need to create tests for this feature, and implement i18n.
Diffstat (limited to 'settings.json.template')
-rw-r--r--settings.json.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings.json.template b/settings.json.template
index 6af5f78a..026f5a2b 100644
--- a/settings.json.template
+++ b/settings.json.template
@@ -121,6 +121,10 @@
/* Privacy: disable IP logging */
"disableIPlogging" : false,
+ /* Time (in seconds) to automatically reconnect pad when a "Force reconnect"
+ message is shown to user. Set to 0 to disable automatic reconnection */
+ "automaticReconnectionTimeout" : 0,
+
/* Users for basic authentication. is_admin = true gives access to /admin.
If you do not uncomment this, /admin will not be available! */
/*