Skip to content

Commit

Permalink
Fix clients getting disconnected after 30 seconds of no data being sent
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamebuster19901 committed Jan 29, 2025
1 parent 073c332 commit 4e9d7d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class SplitterWebSocket implements AutosplitCommandSender {
private static final Logger LOGGER = new Logger(SplitterWebSocket.class);

private final ScheduledExecutorService heartbeatScheduler = Executors.newScheduledThreadPool(1, runnable -> {
Thread thread = new Thread("Splitter Heartbeat");
Thread thread = new Thread(runnable, "Splitter Heartbeat");
thread.setDaemon(true);
return thread;
});
Expand Down

0 comments on commit 4e9d7d5

Please sign in to comment.