Previews: increase crawler timeout (#45848)

This commit is contained in:
Artur Wierzbicki 2022-02-24 20:17:05 +04:00 committed by GitHub
parent 9a87755c3e
commit 9e32357e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,