From 61817e72f4555e3b0ecfa85d7e352834378eb304 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 12 Oct 2024 15:47:32 +0200 Subject: [PATCH] increase timeout for tcl & velov --- img.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/img.go b/img.go index 1c6c246..a3bbfb8 100644 --- a/img.go +++ b/img.go @@ -46,7 +46,7 @@ func getImg(ctx context.Context, nowFunc func() time.Time, transportsClient *tra go func() { defer wg.Done() - ctx, cancel := context.WithTimeout(ctx, 10*time.Second) + ctx, cancel := context.WithTimeout(ctx, 20*time.Second) defer cancel() var err error @@ -59,7 +59,7 @@ func getImg(ctx context.Context, nowFunc func() time.Time, transportsClient *tra go func() { defer wg.Done() - ctx, cancel := context.WithTimeout(ctx, 10*time.Second) + ctx, cancel := context.WithTimeout(ctx, 20*time.Second) defer cancel() var err error @@ -72,7 +72,7 @@ func getImg(ctx context.Context, nowFunc func() time.Time, transportsClient *tra go func() { defer wg.Done() - ctx, cancel := context.WithTimeout(ctx, 10*time.Second) + ctx, cancel := context.WithTimeout(ctx, 20*time.Second) defer cancel() var err error