summaryrefslogtreecommitdiffstats
path: root/snap-src
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-07-26 09:11:28 +0300
committerLauri Ojansivu <x@xet7.org>2019-07-26 09:11:28 +0300
commitfff144a8279ac36ce83e6b975f17f6dbc35f39d6 (patch)
tree8ae6c63547ed985cbaf731d3f5b5dc34ad1d92fb /snap-src
parent85ca2b1363ed0bad8639ba7ed65c55e445816947 (diff)
downloadwekan-fff144a8279ac36ce83e6b975f17f6dbc35f39d6.tar.gz
wekan-fff144a8279ac36ce83e6b975f17f6dbc35f39d6.tar.bz2
wekan-fff144a8279ac36ce83e6b975f17f6dbc35f39d6.zip
- Set LDAP_BACKGROUND_SYNC_INTERVAL='' (empty string) so it works
and [does not crash](https://github.com/wekan/wekan/issues/2354#issuecomment-515305722). Thanks to benh57 and xet7 ! Closes #2354
Diffstat (limited to 'snap-src')
-rwxr-xr-xsnap-src/bin/config2
-rwxr-xr-xsnap-src/bin/wekan-help6
2 files changed, 5 insertions, 3 deletions
diff --git a/snap-src/bin/config b/snap-src/bin/config
index 631beec1..522635cd 100755
--- a/snap-src/bin/config
+++ b/snap-src/bin/config
@@ -267,7 +267,7 @@ DEFAULT_LDAP_BACKGROUND_SYNC="false"
KEY_LDAP_BACKGROUND_SYNC="ldap-background-sync"
DESCRIPTION_LDAP_BACKGROUND_SYNC_INTERVAL="At which interval does the background task sync in milliseconds"
-DEFAULT_LDAP_BACKGROUND_SYNC_INTERVAL="100"
+DEFAULT_LDAP_BACKGROUND_SYNC_INTERVAL=""
KEY_LDAP_BACKGROUND_SYNC_INTERVAL="ldap-background-sync-interval"
DESCRIPTION_LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=""
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help
index b53a5738..19bc1462 100755
--- a/snap-src/bin/wekan-help
+++ b/snap-src/bin/wekan-help
@@ -280,8 +280,10 @@ echo -e "If the sync of the users should be done in the background:"
echo -e "\t$ snap set $SNAP_NAME ldap-background-sync='true'"
echo -e "\n"
echo -e "Ldap Background Sync Interval."
-echo -e "At which interval does the background task sync in milliseconds:"
-echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-interval='12345'"
+echo -e "At which interval does the background task sync in milliseconds."
+echo -e "Leave this unset, so it uses default, and does not crash."
+echo -e "https://github.com/wekan/wekan/issues/2354#issuecomment-515305722"
+echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-interval=''"
echo -e "\n"
echo -e "Ldap Background Sync Keep Existant Users Updated."
echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-keep-existant-users-updated='true'"