Skip to content

Commit ad10827

Browse files
committed
OpenShift changes after the rebase to 1.7.6
1 parent f972a07 commit ad10827

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/assets/apiserver/asset_apiserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func buildHandlerChainForAssets(consoleRedirectPath string) func(startingHandler
155155
handler = genericapifilters.WithAudit(handler, c.RequestContextMapper, c.AuditBackend, c.AuditPolicyChecker, c.LongRunningFunc)
156156
}
157157
handler = genericfilters.WithCORS(handler, c.CorsAllowedOriginList, nil, nil, nil, "true")
158-
handler = genericfilters.WithTimeoutForNonLongRunningRequests(handler, c.RequestContextMapper, c.LongRunningFunc)
158+
handler = genericfilters.WithTimeoutForNonLongRunningRequests(handler, c.RequestContextMapper, c.LongRunningFunc, c.RequestTimeout)
159159
handler = genericapifilters.WithRequestInfo(handler, genericapiserver.NewRequestInfoResolver(c), c.RequestContextMapper)
160160
handler = apirequest.WithRequestContext(handler, c.RequestContextMapper)
161161
handler = genericfilters.WithPanicRecovery(handler)

pkg/oauth/apiserver/oauth_apiserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func (c *OAuthServerConfig) buildHandlerChainForOAuth(startingHandler http.Handl
200200

201201
handler = genericfilters.WithMaxInFlightLimit(handler, genericConfig.MaxRequestsInFlight, genericConfig.MaxMutatingRequestsInFlight, genericConfig.RequestContextMapper, genericConfig.LongRunningFunc)
202202
handler = genericfilters.WithCORS(handler, genericConfig.CorsAllowedOriginList, nil, nil, nil, "true")
203-
handler = genericfilters.WithTimeoutForNonLongRunningRequests(handler, genericConfig.RequestContextMapper, genericConfig.LongRunningFunc)
203+
handler = genericfilters.WithTimeoutForNonLongRunningRequests(handler, genericConfig.RequestContextMapper, genericConfig.LongRunningFunc, genericConfig.RequestTimeout)
204204
handler = genericapifilters.WithRequestInfo(handler, genericapiserver.NewRequestInfoResolver(genericConfig), genericConfig.RequestContextMapper)
205205
handler = apirequest.WithRequestContext(handler, genericConfig.RequestContextMapper)
206206
handler = genericfilters.WithPanicRecovery(handler)

0 commit comments

Comments
 (0)