From 1a1b0fc6a76ea5ce79365b4c13d50f4201baa66d Mon Sep 17 00:00:00 2001
From: Recolic K <bensl@microsoft.com>
Date: Thu, 29 Jul 2021 17:52:19 +0800
Subject: [PATCH] update

---
 gitlab2github_daemon.fish | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gitlab2github_daemon.fish b/gitlab2github_daemon.fish
index 6db878c..d477ae0 100755
--- a/gitlab2github_daemon.fish
+++ b/gitlab2github_daemon.fish
@@ -1,6 +1,10 @@
 #!/usr/bin/fish
 
 while true
+    # git.recolic.net and gitsync located on the same machine. If the machine is rebooted, this script will fail and retry again and again. 
+    # sleep 60 to avoid deadly crazy retry loop
+    sleep 60
+
     fish ./gitlab2github_sync.fish
     echo "Sleeping 3600s..." 1>&2
     sleep 3600
-- 
GitLab