1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-18 14:47:03 +00:00

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.
This commit is contained in:
Alberto Bertogli
2018-05-20 11:58:41 +01:00
parent 97826d4f88
commit 2064e9e65d

View File

@@ -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