Skip to content

Commit b7d2c41

Browse files
author
Bradford Folkens
committed
Remove duplicate code
1 parent 30423e3 commit b7d2c41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/wind/client.ex

+1-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ defmodule Wind.Client do
138138

139139
def handle_frame({:pong, _data}, state) do
140140
Logger.debug(fn -> "pong" end)
141-
# TODO: Check timer diff?
142-
Process.send_after(self(), :ping_timer, unquote(opts[:ping_timer]))
141+
start_ping_timer()
143142

144143
{:noreply, state}
145144
end

0 commit comments

Comments
 (0)