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
Sometimes our self-hosted gitlab is unreachable due to some maintenance activities. In that case, it takes more than 1 min to return the cached value or the default value. Can we add method ->withTimeout(secs)?
Is your feature request related to a problem? (optional)
Sometimes our self-hosted gitlab is unreachable due to some maintenance activities. In that case, it takes more than 1 min to return the cached value or the default value.
Describe alternatives you've considered (optional)
set_time_limit
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered:
There's no unified way to set a timeout for the PSR http client abstraction (at least I don't know of any), that needs to be done in the http client you use.
If you use a different http client, there's probably a way to set a default timeout.
Then you do it like this:
$unleash = UnleashBuilder::create()
->withAppName($appName)
->withAppUrl($appUrl)
->withInstanceId($instanceId)
->withHttpClient($httpClient) // <-- this is the important part
->build()
;
Is there an existing issue for this?
Describe the new feature
Sometimes our self-hosted gitlab is unreachable due to some maintenance activities. In that case, it takes more than 1 min to return the cached value or the default value. Can we add method
->withTimeout(secs)
?Is your feature request related to a problem? (optional)
Sometimes our self-hosted gitlab is unreachable due to some maintenance activities. In that case, it takes more than 1 min to return the cached value or the default value.
Describe alternatives you've considered (optional)
set_time_limit
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: