aboutsummaryrefslogtreecommitdiff
path: root/discord/shard.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/shard.py')
-rw-r--r--discord/shard.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/shard.py b/discord/shard.py
index 75fd661e..70b99ee6 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -204,6 +204,7 @@ class AutoShardedClient(Client):
ws.gateway = gateway
ws.shard_id = shard_id
ws.shard_count = self.shard_count
+ ws._max_heartbeat_timeout = self._connection.heartbeat_timeout
try:
# OP HELLO