From 202cbf1d614d8a34109f733573d8605b93fcee24 Mon Sep 17 00:00:00 2001 From: Delisa Mason Date: Tue, 9 Jan 2018 16:20:00 -0800 Subject: [PATCH] Use execute() method to start polling thread --- lib/bugsnag/session_tracker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bugsnag/session_tracker.rb b/lib/bugsnag/session_tracker.rb index 074cd2edb..3caf8489b 100644 --- a/lib/bugsnag/session_tracker.rb +++ b/lib/bugsnag/session_tracker.rb @@ -69,7 +69,7 @@ def start_delivery_thread end end end - @delivery_thread = Concurrent::TimerTask.new(execution_interval: 30) do + @delivery_thread = Concurrent::TimerTask.execute(execution_interval: 30) do if @session_counts.size > 0 send_sessions end