From 8aa7d4b4633c0b4761b14e9f9d7702bcf90ed9b2 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 27 Nov 2014 20:34:35 +0100 Subject: [PATCH] Lower the bar for when to stop restarting (fixes #1004) --- cmd/syncthing/monitor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/syncthing/monitor.go b/cmd/syncthing/monitor.go index 7a443e52a..1fa101742 100644 --- a/cmd/syncthing/monitor.go +++ b/cmd/syncthing/monitor.go @@ -38,8 +38,8 @@ var ( ) const ( - countRestarts = 5 - loopThreshold = 15 * time.Second + countRestarts = 4 + loopThreshold = 60 * time.Second ) func monitorMain() {