From 76b8f07e7839986a0e12e24e1afb73aed1b945d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= Date: Sat, 28 Oct 2023 17:21:41 +0200 Subject: [PATCH] feat(torch): increase timeouts 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 8327eeb..118365c 100644 --- a/pkg/nodes/queue.go +++ b/pkg/nodes/queue.go @@ -15,7 +15,7 @@ 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. - timeoutDurationProcessQueue = 10 * time.Second // timeoutDurationProcessQueue time specified to make a signal. + timeoutDurationProcessQueue = 60 * time.Second // timeoutDurationProcessQueue time specified to make a signal. ) // ProcessTaskQueue processes the pending tasks in the queue the time specified in the const TickerTime.