Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vrbanecd committed Jan 14, 2025
1 parent c1ed52f commit 3fc9d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teapot.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ async def stop_expired_instances():
if last_accessed is not None:
diff = now - datetime.datetime.fromisoformat(last_accessed)
if diff.seconds >= INSTANCE_TIMEOUT_SEC:
res = await _stop_webdav_instance(user, sw_state, sw_state_lock)
res = await _stop_webdav_instance(user, sw_state, sw_condition)
# TO DO: remove instance from session_state
if res != 0:
logger.error(
Expand Down

0 comments on commit 3fc9d9a

Please sign in to comment.