You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds a configurable timeout to the initial connection
attempt. The attempt is already blocking since we do make a call to the
Info RPC method to verify the connection integrity.
Both the connection and transfer steps are part of the backoff
procedure, so failures in either step will trigger re-attempts.
// UniverseRpcCourierCfg is the config for the universe RPC proof courier.
1157
+
//
1158
+
// nolint:lll
1157
1159
typeUniverseRpcCourierCfgstruct {
1158
1160
// BackoffCfg configures the behaviour of the proof delivery
1159
1161
// functionality.
1160
1162
BackoffCfg*BackoffCfg
1163
+
1164
+
// ServiceRequestTimeout defines the maximum duration we'll wait for
1165
+
// a courier service to handle our outgoing request during a connection
1166
+
// attempt, or when delivering or retrieving a proof.
1167
+
ServiceRequestTimeout time.Duration`long:"servicerequestimeout" description:"The maximum duration we'll wait for a courier service to handle our outgoing request during a connection attempt, or when delivering or retrieving a proof."`
1161
1168
}
1162
1169
1163
1170
// UniverseRpcCourier is a universe RPC proof courier service handle. It
0 commit comments