Skip to content

Commit

Permalink
Added an info message
Browse files Browse the repository at this point in the history
  • Loading branch information
vrbanecd committed Jan 14, 2025
1 parent 9b99a10 commit 74f917f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion teapot.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,13 +755,14 @@ async def storm_webdav_state(state, condition, user):
async with condition:
if user not in state:
state[user] = "NOT_RUNNING"
logger.info("Currently, there is no storm webdav instance running for user %s", user)
while True:
await condition.wait()

if state[user] == "NOT_RUNNING":
state[user] = "STARTING"
condition.notify()
logger.info("No instance running for user %s yet, starting now.", user)
logger.info("Storm webdav instance for user %s is starting now.", user)
should_start_sw = True
break

Expand Down

0 comments on commit 74f917f

Please sign in to comment.