Added a debug function that counts all current tasks
This commit is contained in:
parent
aa8971049c
commit
1850ee8718
|
|
@ -99,7 +99,7 @@ class ClientWrapper(object):
|
||||||
except slack_util.DeadHook:
|
except slack_util.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")
|
print("Done spawning tasks. Now {} running total.".format(len(asyncio.all_tasks())))
|
||||||
|
|
||||||
async def async_message_feed(self) -> AsyncGenerator[dict, None]:
|
async def async_message_feed(self) -> AsyncGenerator[dict, None]:
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue