Increase ctx timeout to 30s

This commit is contained in:
Mehdi Osman 2022-02-27 19:03:13 +00:00 committed by GitHub
parent 14e54cda9e
commit d8e4f78235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ import (
)
func getTimeoutContext() context.Context {
ctx, _ := context.WithTimeout(context.Background(), time.Duration(time.Second*10))
ctx, _ := context.WithTimeout(context.Background(), time.Duration(time.Second*30))
return ctx
}