aboutsummaryrefslogtreecommitdiffstats
path: root/test/ws_SUITE_data/ws_timeout_hibernate.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ws_SUITE_data/ws_timeout_hibernate.erl')
-rw-r--r--test/ws_SUITE_data/ws_timeout_hibernate.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/ws_SUITE_data/ws_timeout_hibernate.erl b/test/ws_SUITE_data/ws_timeout_hibernate.erl
index 15cde66..b9646ac 100644
--- a/test/ws_SUITE_data/ws_timeout_hibernate.erl
+++ b/test/ws_SUITE_data/ws_timeout_hibernate.erl
@@ -3,14 +3,14 @@
-module(ws_timeout_hibernate).
-export([init/2]).
--export([websocket_handle/3]).
--export([websocket_info/3]).
+-export([websocket_handle/2]).
+-export([websocket_info/2]).
init(Req, _) ->
{cowboy_websocket, Req, undefined, 1000, hibernate}.
-websocket_handle(_Frame, Req, State) ->
- {ok, Req, State, hibernate}.
+websocket_handle(_Frame, State) ->
+ {ok, State, hibernate}.
-websocket_info(_Info, Req, State) ->
- {ok, Req, State, hibernate}.
+websocket_info(_Info, State) ->
+ {ok, State, hibernate}.