Small tweak to output to make it spam less
This commit is contained in:
parent
77aa8755ed
commit
e74c9dcaa6
|
|
@ -276,7 +276,7 @@ class ClientWrapper(object):
|
||||||
|
|
||||||
# If we get a coro back, then task it up and set consumption appropriately
|
# If we get a coro back, then task it up and set consumption appropriately
|
||||||
if coro is not None:
|
if coro is not None:
|
||||||
print("Spawned task")
|
print("Spawned task. Now {} running total.".format(len(asyncio.all_tasks())))
|
||||||
yield asyncio.create_task(_exception_printing_task(coro))
|
yield asyncio.create_task(_exception_printing_task(coro))
|
||||||
if hook.consumes:
|
if hook.consumes:
|
||||||
break
|
break
|
||||||
|
|
@ -284,7 +284,6 @@ class ClientWrapper(object):
|
||||||
except DeadHook:
|
except DeadHook:
|
||||||
# If a hook wants to die, let it.
|
# If a hook wants to die, let it.
|
||||||
self.hooks.remove(hook)
|
self.hooks.remove(hook)
|
||||||
print("Done spawning tasks. Now {} running total.".format(len(asyncio.all_tasks())))
|
|
||||||
|
|
||||||
# Data getting/sending
|
# Data getting/sending
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue