mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
Change Default Timeout To 30 Seconds (#11487)
This commit is contained in:
parent
e1c1d0f864
commit
61f6b27548
@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// DefaultRPCHTTPTimeout for HTTP requests via an RPC connection to an execution node.
|
// 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
|
// 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
|
// in order to inject JWT auth strings into our HTTP request headers. Authentication
|
||||||
|
Loading…
Reference in New Issue
Block a user