Skip to content

Commit cbd02a0

Browse files
committed
@pcrespov use dict instead of del
1 parent 1a17524 commit cbd02a0

File tree

1 file changed

+1
-1
lines changed
  • services/api-server/src/simcore_service_api_server/services_http

1 file changed

+1
-1
lines changed

services/api-server/src/simcore_service_api_server/services_http/log_streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def deregister(self, job_id: JobID):
8585
await self._rabbit_client.remove_topics(
8686
LoggerRabbitMessage.get_channel_name(), topics=[f"{job_id}.*"]
8787
)
88-
del self._log_streamers[job_id]
88+
self._log_streamers.pop(job_id)
8989

9090
@property
9191
def iter_log_queue_sizes(self) -> Iterator[tuple[JobID, int]]:

0 commit comments

Comments
 (0)