Skip to content

Commit

Permalink
fix: use client.wait_for_server()
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 17, 2024
1 parent f03c257 commit 9f9a4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aw_watcher_afk/afk.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run(self):
logger.info("aw-watcher-afk started")

# Initialization
sleep(1)
self.client.wait_for_server()

eventtype = "afkstatus"
self.client.create_bucket(self.bucketname, eventtype, queued=True)
Expand Down

0 comments on commit 9f9a4fd

Please sign in to comment.