Skip to content

Commit 590cc1c

Browse files
fix:
1 parent c53581d commit 590cc1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/web/server/src/simcore_service_webserver/projects/_projects_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ async def conditionally_unsubscribe_from_project_logs(
220220
# NOTE: With multiple webserver replicas, this ensures we don't unsubscribe until
221221
# the last socket is closed, though another replica may still maintain an active
222222
# subscription even if no users are connected to it.
223-
if actually_used_sockets_on_project <= 1:
223+
if actually_used_sockets_on_project == 0:
224224
await project_logs.unsubscribe(app, project_id)
225225

226226

0 commit comments

Comments
 (0)