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
Right now we don't set any timeout, so if the AuthZ API is timing out, it quickly takes e.g. Indico down because all the requests end up waiting.
I think the best solution would be to set a timeout on all requests (maybe this can be done on the session level), but also "caching" timeouts for a short period (few seconds) so we don't try the same request again immediately. This is necessary because otherwise even a timeout of 1-2 seconds could easily hog uWSGI workers.
The text was updated successfully, but these errors were encountered:
Right now we don't set any timeout, so if the AuthZ API is timing out, it quickly takes e.g. Indico down because all the requests end up waiting.
I think the best solution would be to set a timeout on all requests (maybe this can be done on the session level), but also "caching" timeouts for a short period (few seconds) so we don't try the same request again immediately. This is necessary because otherwise even a timeout of 1-2 seconds could easily hog uWSGI workers.
The text was updated successfully, but these errors were encountered: