From b3dc6d8105ecc8faa9a2daa77586a9b0c8d87a8c Mon Sep 17 00:00:00 2001 From: Salim Afiune Maya Date: Thu, 12 Dec 2024 06:15:46 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20decrease=20workerpool=20wait=20t?= =?UTF-8?q?icker=20to=2010ms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Salim Afiune Maya --- internal/workerpool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/workerpool/pool.go b/internal/workerpool/pool.go index 8553ca25d..d59d5b009 100644 --- a/internal/workerpool/pool.go +++ b/internal/workerpool/pool.go @@ -92,7 +92,7 @@ func (p *Pool[R]) Close() { // Wait waits until all tasks have been processed. func (p *Pool[R]) Wait() { - ticker := time.NewTicker(100 * time.Millisecond) + ticker := time.NewTicker(10 * time.Millisecond) for { if !p.Processing() { return