summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Burda <contact@sinitax.com>2025-04-24 15:49:47 +0200
committerLouis Burda <contact@sinitax.com>2025-04-24 15:49:47 +0200
commitb09b0c13f3e5d7e3fcd56109e0b9400ea6aeb2b3 (patch)
treeb9f268a9ccfaf86fc120bd7f807be9471e123865
parent2341827d7928eb70e68c897f851d8c8b8e8f40f7 (diff)
downloadgit-sync-b09b0c13f3e5d7e3fcd56109e0b9400ea6aeb2b3.tar.gz
git-sync-b09b0c13f3e5d7e3fcd56109e0b9400ea6aeb2b3.zip
Fix loading sync timeout config option
-rwxr-xr-xgit-syncd2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-syncd b/git-syncd
index 8b318a6..8ff30b5 100755
--- a/git-syncd
+++ b/git-syncd
@@ -23,7 +23,7 @@ watcher() {
repo=$1
excludes=()
sync_delay=${git_syncd_sync_delay[$repo]:-$git_syncd_default_sync_delay}
- sync_timeout=${git_syncd_sync_delay[$repo]:-$git_syncd_default_sync_delay}
+ sync_timeout=${git_syncd_sync_timeout[$repo]:-$git_syncd_default_sync_timeout}
sync "$repo"
timeout=$sync_timeout
while true; do