From 2064e9e65dc940f1409acf09f3056b9c1cb63194 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 20 May 2018 11:58:41 +0100 Subject: [PATCH] queue: Increase retry time from 12h to 20h Some transient issues might take more than 12h to resolve, specially if they happen overnight. 20h gives a bit more margin for retries, while still being short enough so that users are notified early. --- internal/queue/queue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/queue/queue.go b/internal/queue/queue.go index cd92e58..f21094f 100644 --- a/internal/queue/queue.go +++ b/internal/queue/queue.go @@ -38,7 +38,7 @@ const ( maxQueueSize = 200 // Give up sending attempts after this duration. - giveUpAfter = 12 * time.Hour + giveUpAfter = 20 * time.Hour // Prefix for item file names. // This is for convenience, versioning, and to be able to tell them apart