Skip to content

Commit 64535cd

Browse files
authored
Update bots_orchestrator.py
fix returns a coroutine for the active containers
1 parent 520009e commit 64535cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/bots_orchestrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def stop_update_active_bots_loop(self):
8787

8888
async def update_active_bots(self, sleep_time=1):
8989
while True:
90-
active_hbot_containers = self.get_active_containers()
90+
active_hbot_containers = await self.get_active_containers()
9191
# Remove bots that are no longer active
9292
for bot in list(self.active_bots):
9393
if bot not in active_hbot_containers:

0 commit comments

Comments
 (0)