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:
@@ -38,7 +38,7 @@ const (
|
|||||||
maxQueueSize = 200
|
maxQueueSize = 200
|
||||||
|
|
||||||
// Give up sending attempts after this duration.
|
// Give up sending attempts after this duration.
|
||||||
giveUpAfter = 12 * time.Hour
|
giveUpAfter = 20 * time.Hour
|
||||||
|
|
||||||
// Prefix for item file names.
|
// Prefix for item file names.
|
||||||
// This is for convenience, versioning, and to be able to tell them apart
|
// This is for convenience, versioning, and to be able to tell them apart
|
||||||
|
|||||||
Reference in New Issue
Block a user