From fff144a8279ac36ce83e6b975f17f6dbc35f39d6 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 26 Jul 2019 09:11:28 +0300 Subject: - 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 --- snap-src/bin/config | 2 +- snap-src/bin/wekan-help | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'snap-src') 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'" -- cgit v1.2.3-1-g7c22