From 79b437cd338c63b099f0a78624f136f72a084b02 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Thu, 16 Nov 2023 16:23:44 +0100 Subject: [PATCH] Move heartbeat to shared location --- src/gateway/default/heartbeat.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gateway/default/heartbeat.rs b/src/gateway/default/heartbeat.rs index b737366..4c30496 100644 --- a/src/gateway/default/heartbeat.rs +++ b/src/gateway/default/heartbeat.rs @@ -2,9 +2,6 @@ use crate::types; use super::*; -/// The amount of time we wait for a heartbeat ack before resending our heartbeat in ms -const HEARTBEAT_ACK_TIMEOUT: u64 = 2000; - /// Handles sending heartbeats to the gateway in another thread #[allow(dead_code)] // FIXME: Remove this, once HeartbeatHandler is used #[derive(Debug)]