Allow overriding the shard_ids used for initial shard launch.
This commit is contained in:
1 parent
4bc6625739
commit
92c1637921
3 files changed
+22
-6
No files matched your search
@@ -743,9 +743,6 @@ class AutoShardedConnectionState(ConnectionState):
|
||||
|
||||
self.dispatch('shard_ready', shard_id)
|
||||
|
||||
# sleep a second for every shard ID.
|
||||
# yield from asyncio.sleep(1.0, loop=self.loop)
|
||||
|
||||
# remove the state
|
||||
try:
|
||||
del self._ready_state
|
||||
|
||||
Reference in new issue
Block a user