Change Default Timeout To 30 Seconds (#11487)

This commit is contained in:
Nishant Das 2022-09-22 18:43:53 +08:00 committed by GitHub
parent e1c1d0f864
commit 61f6b27548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ import (
)
// DefaultRPCHTTPTimeout for HTTP requests via an RPC connection to an execution node.
const DefaultRPCHTTPTimeout = time.Second * 6
const DefaultRPCHTTPTimeout = time.Second * 30
// This creates a custom HTTP transport which we can attach to our HTTP client
// in order to inject JWT auth strings into our HTTP request headers. Authentication