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
It does not work properly for GET requests.
When I send POST request on that endpoint, harakiri gets triggerred after 30 seconds, but when I send GET request, it gets triggered after 10 seconds, so global harakiri takes precedence over custom one set in route.
If I will not set global harakiri and leave just the one in route, it works properly for both GET nad POST requests.
On both GET and POST requests I had simple blocking sleep function for 25 seconds. As we can see, POST request was not killed by harakiri, but GET was.
The text was updated successfully, but these errors were encountered:
Versions used:
When I want to specify custom
harakiri
settings for one of my endpoints like this:It does not work properly for GET requests.
When I send POST request on that endpoint,
harakiri
gets triggerred after 30 seconds, but when I send GET request, it gets triggered after 10 seconds, so globalharakiri
takes precedence over custom one set inroute
.If I will not set global
harakiri
and leave just the one inroute
, it works properly for both GET nad POST requests.Logs as an example:
On both GET and POST requests I had simple blocking sleep function for 25 seconds. As we can see, POST request was not killed by
harakiri
, but GET was.The text was updated successfully, but these errors were encountered: