From c1670f8936bb3c88145b46c6bf6df70fb74fde0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= Date: Tue, 16 Apr 2024 16:01:47 +0200 Subject: [PATCH] feat(torch): increase timeout for processing queues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jose Ramon MaƱes --- pkg/nodes/queue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/nodes/queue.go b/pkg/nodes/queue.go index 6d345c5..fb4df18 100644 --- a/pkg/nodes/queue.go +++ b/pkg/nodes/queue.go @@ -14,7 +14,7 @@ import ( var ( taskQueue = make(chan config.Peer) // taskQueue channel for pending tasks (peers to process later). MaxRetryCount = 5 // MaxRetryCount number of retries per node. - TickerTime = 5 * time.Second // TickerTime time specified to make a signal. + TickerTime = 10 * time.Second // TickerTime time specified to make a signal. timeoutDurationProcessQueue = 60 * time.Second // timeoutDurationProcessQueue time specified to make a signal. )