diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-15 15:29:10 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 7095f3553743249d40ebadda501b2bd54ac3ca93 (patch) | |
tree | d0c8d83a04051e1e45352c031d6e7c08cfcd4822 /slack/register.py | |
parent | 74c3a674d30d957f90480a8115224e13dfb7d41d (diff) | |
download | wee-slack-7095f3553743249d40ebadda501b2bd54ac3ca93.tar.gz |
Connect to all workspaces concurrently
Diffstat (limited to 'slack/register.py')
-rw-r--r-- | slack/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/register.py b/slack/register.py index 924e0eb..c390362 100644 --- a/slack/register.py +++ b/slack/register.py @@ -75,7 +75,7 @@ async def init_async(): await sleep(1) # Defer auto connect to ensure the logger plugin is loaded for workspace in shared.workspaces.values(): if workspace.config.autoconnect.value: - await workspace.connect() + create_task(workspace.connect()) def register(): |