Add a debug to heartbeat thread

This commit is contained in:
kozabrada123 2023-05-06 11:14:38 +02:00
parent 7d3077eec4
commit 9f187b8864
1 changed files with 2 additions and 0 deletions

View File

@ -259,6 +259,8 @@ impl HeartbeatHandler {
if last_heartbeat.elapsed().as_millis() > heartbeat_interval { if last_heartbeat.elapsed().as_millis() > heartbeat_interval {
println!("Debug GW: Sending Heartbeat");
let heartbeat = GatewayHeartbeat { let heartbeat = GatewayHeartbeat {
op: 1, op: 1,
d: last_seq_number d: last_seq_number