Skip to content
Browse files

Change disconnect timeout to 60s

  • Loading branch information...
1 parent 702f969 commit dfcf95092b81768f0ddfcec07b07ad84f16d56a8 @kkiselev kkiselev committed Jul 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cowboy_websocket_rack_handler.erl
View
2 src/cowboy_websocket_rack_handler.erl
@@ -68,7 +68,7 @@ websocket_init(TransportName, Req, Options) ->
_ ->
gen_event:add_handler({global, EventManager}, {?MODULE, self()}, [State])
end,
- {ok, Req, State, 20000}.
+ {ok, Req, State, 60000}.
websocket_handle({text, Msg}, Req, #state{path = ServerPath, handler = Handler, ws_handler_state = HandlerState} = State) ->
ProtocolMessage = try Handler:parse_message(Msg, HandlerState)

0 comments on commit dfcf950

Please sign in to comment.
Something went wrong with that request. Please try again.