aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_ws.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun_ws.erl')
-rw-r--r--src/gun_ws.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_ws.erl b/src/gun_ws.erl
index 8be93e8..f59c19c 100644
--- a/src/gun_ws.erl
+++ b/src/gun_ws.erl
@@ -91,7 +91,7 @@ do_check_options([Opt|_]) ->
name() -> ws.
opts_name() -> ws_opts.
has_keepalive() -> true.
-default_keepalive() -> 5000.
+default_keepalive() -> infinity.
init(ReplyTo, Socket, Transport, #{stream_ref := StreamRef, headers := Headers,
extensions := Extensions, flow := InitialFlow, handler := Handler, opts := Opts}) ->