Skip to content

Commit 09c1db9

Browse files
committed
mod: increase timeout
1 parent df81d43 commit 09c1db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/middleware/plugins/http_proxy.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ func (m *HttpProxyMiddleware) OnProcess(session *rpc.Session) error {
103103
WithDelay(time.Minute).
104104
WithSuccessThreshold(2).
105105
Build()
106-
// timeout after 60 seconds
107-
timeoutPolicy := timeout.With[any](60 * time.Second)
106+
// timeout after 90 seconds
107+
timeoutPolicy := timeout.With[any](90 * time.Second)
108108
policies = append(policies, timeoutPolicy, circuitBreaker)
109109
m.policiesMap.Set(session.NodeName, policies)
110110
}

0 commit comments

Comments
 (0)