aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gateway/shard.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gateway/shard.rs b/src/gateway/shard.rs
index 9304e2f..fbe1572 100644
--- a/src/gateway/shard.rs
+++ b/src/gateway/shard.rs
@@ -354,6 +354,8 @@ impl Shard {
info!("[Shard {:?}] Resumed", self.shard_info);
self.stage = ConnectionStage::Connected;
+ self.last_heartbeat_acknowledged = true;
+ self.heartbeat_instants = (Some(Instant::now()), None);
},
#[cfg_attr(rustfmt, rustfmt_skip)]
ref _other => {