increase timeout for tcl & velov

This commit is contained in:
Gabriel Augendre 2024-10-12 15:47:32 +02:00
parent d12e39d6fa
commit 61817e72f4

6
img.go
View file

@ -46,7 +46,7 @@ func getImg(ctx context.Context, nowFunc func() time.Time, transportsClient *tra
go func() { go func() {
defer wg.Done() defer wg.Done()
ctx, cancel := context.WithTimeout(ctx, 10*time.Second) ctx, cancel := context.WithTimeout(ctx, 20*time.Second)
defer cancel() defer cancel()
var err error var err error
@ -59,7 +59,7 @@ func getImg(ctx context.Context, nowFunc func() time.Time, transportsClient *tra
go func() { go func() {
defer wg.Done() defer wg.Done()
ctx, cancel := context.WithTimeout(ctx, 10*time.Second) ctx, cancel := context.WithTimeout(ctx, 20*time.Second)
defer cancel() defer cancel()
var err error var err error
@ -72,7 +72,7 @@ func getImg(ctx context.Context, nowFunc func() time.Time, transportsClient *tra
go func() { go func() {
defer wg.Done() defer wg.Done()
ctx, cancel := context.WithTimeout(ctx, 10*time.Second) ctx, cancel := context.WithTimeout(ctx, 20*time.Second)
defer cancel() defer cancel()
var err error var err error