Allow overriding the shard_ids used for initial shard launch.

This commit is contained in:
Rapptz committed 2017-01-08 02:05:21 -05:00
1 parent 4bc6625739
commit 92c1637921
3 files changed
+22 -6

No files matched your search

-3
View File
@@ -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