diff options
Diffstat (limited to 'test/handlers/loop_handler_timeout_h.erl')
-rw-r--r-- | test/handlers/loop_handler_timeout_h.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handlers/loop_handler_timeout_h.erl b/test/handlers/loop_handler_timeout_h.erl index 6502a3a..1628074 100644 --- a/test/handlers/loop_handler_timeout_h.erl +++ b/test/handlers/loop_handler_timeout_h.erl @@ -12,7 +12,7 @@ init(Req, _) -> erlang:send_after(1000, self(), timeout), - {cowboy_loop, Req, undefined, 200, hibernate}. + {cowboy_loop, Req, undefined, hibernate}. info(timeout, Req, State) -> {stop, cowboy_req:reply(500, Req), State}. |