Actually wait before reconnecting
This commit is contained in:
parent
f6b7667155
commit
a068acb2f7
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ except ImportError:
|
|||
|
||||
setup(
|
||||
name="mini-syndicate",
|
||||
version="0.0.3",
|
||||
version="0.0.4",
|
||||
author="Tony Garnock-Jones",
|
||||
author_email="tonyg@leastfixedpoint.com",
|
||||
license="GNU General Public License v3 or later (GPLv3+)",
|
||||
|
|
|
@ -216,7 +216,7 @@ class Connection(object):
|
|||
if did_connect:
|
||||
pass # Reconnect immediately
|
||||
else:
|
||||
asyncio.sleep(2)
|
||||
await asyncio.sleep(2)
|
||||
|
||||
@classmethod
|
||||
def from_url(cls, s):
|
||||
|
|
Loading…
Reference in New Issue