mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-27 08:49:40 -05:00
Rename pinging-task to heartbeat-task!
This commit is contained in:
@@ -34,7 +34,7 @@ public class WebSocketHeartbeatTask
|
|||||||
|
|
||||||
public void run(WebSocket webSocket, long pingTaskTime) {
|
public void run(WebSocket webSocket, long pingTaskTime) {
|
||||||
stop();
|
stop();
|
||||||
thread = new Thread(() -> heartbeatTask(webSocket, pingTaskTime), "pinging-task");
|
thread = new Thread(() -> heartbeatTask(webSocket, pingTaskTime), "heartbeat-task");
|
||||||
isRunning = true;
|
isRunning = true;
|
||||||
thread.start();
|
thread.start();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user