mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Increase loop_handler_timeout timeouts
It seems that macOS GH runners don't do timeouts well.
This commit is contained in:
parent
a81dc8af9d
commit
1547e9b93e
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
init(Req, _) ->
|
||||
#{timeout := Timeout} = cowboy_req:match_qs([{timeout, int}], Req),
|
||||
erlang:send_after(200, self(), message),
|
||||
erlang:send_after(500, self(), message),
|
||||
{cowboy_loop, Req, undefined, Timeout}.
|
||||
|
||||
info(message, Req, State) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue