lib/slack/real_time/concurrency/eventmachine.rb in slack-ruby-client-0.14.3 vs lib/slack/real_time/concurrency/eventmachine.rb in slack-ruby-client-0.14.4

- old
+ new

@@ -28,10 +28,10 @@ class Socket < Slack::RealTime::Socket def start_async(client) @thread = ensure_reactor_running if client.run_ping? - EventMachine.add_periodic_timer(client.websocket_ping) do + EventMachine.add_periodic_timer client.websocket_ping_timer do client.run_ping! end end client.run_loop