File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,10 @@ const (
9898 // use for waiting for a receiver to acknowledge a proof transfer.
9999 defaultProofTransferReceiverAckTimeout = time .Hour * 6
100100
101+ // defaultProofCourierServiceResponseTimeout is the default timeout
102+ // we'll use for waiting for a response from the proof courier service.
103+ defaultProofCourierServiceResponseTimeout = time .Second * 5
104+
101105 // defaultUniverseSyncInterval is the default interval that we'll use
102106 // to sync Universe state with the federation.
103107 defaultUniverseSyncInterval = time .Minute * 10
@@ -435,6 +439,7 @@ func DefaultConfig() Config {
435439 InitialBackoff : defaultProofTransferInitialBackoff ,
436440 MaxBackoff : defaultProofTransferMaxBackoff ,
437441 },
442+ ServiceRequestTimeout : defaultProofCourierServiceResponseTimeout ,
438443 },
439444 CustodianProofRetrievalDelay : defaultProofRetrievalDelay ,
440445 Universe : & UniverseConfig {
You can’t perform that action at this time.
0 commit comments