From 9e32357e69017dc89193474b4ebe72e0334d501f Mon Sep 17 00:00:00 2001 From: Artur Wierzbicki Date: Thu, 24 Feb 2022 20:17:05 +0400 Subject: [PATCH] Previews: increase crawler timeout (#45848) --- pkg/services/thumbs/crawler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/thumbs/crawler.go b/pkg/services/thumbs/crawler.go index a17b48c4ae0..38a106d9b9b 100644 --- a/pkg/services/thumbs/crawler.go +++ b/pkg/services/thumbs/crawler.go @@ -120,7 +120,7 @@ func (r *simpleCrawler) Run(ctx context.Context, authOpts rendering.AuthOpts, mo r.opts = rendering.Opts{ AuthOpts: authOpts, TimeoutOpts: rendering.TimeoutOpts{ - Timeout: 10 * time.Second, + Timeout: 20 * time.Second, RequestTimeoutMultiplier: 3, }, Theme: theme,