From b84fa199401e841d9d98f57c538d5b15903d55c4 Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Wed, 27 Sep 2017 09:38:11 +0200 Subject: [PATCH] Bump discovery wait time on success to 6 hours --- cheesegull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheesegull.go b/cheesegull.go index 62c8bd5..f751613 100644 --- a/cheesegull.go +++ b/cheesegull.go @@ -69,7 +69,7 @@ func main() { // start running components of cheesegull go dbmirror.StartSetUpdater(c, db) - go dbmirror.DiscoverEvery(c, db, time.Minute*30, time.Second*20) + go dbmirror.DiscoverEvery(c, db, time.Hour*6, time.Second*20) // create request handler panic(http.ListenAndServe(*httpAddr, api.CreateHandler(db))) -- GitLab