Skip to content

Commit

Permalink
use setupscheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieSinn committed Sep 30, 2024
1 parent de0c919 commit 4e98bf9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private Void handleSSEStarted(StartedEvent startedEvent) {
isSSEConnected = true;
DevCycleLogger.debug("SSE Connected - setting polling interval to " + pollingIntervalSSEMS);
scheduler.close();
scheduler = Executors.newScheduledThreadPool(1, new DaemonThreadFactory());
scheduler = setupScheduler();
scheduler.scheduleAtFixedRate(getConfigRunnable, 0, pollingIntervalSSEMS, TimeUnit.MILLISECONDS);
return null;
}
Expand Down

0 comments on commit 4e98bf9

Please sign in to comment.