We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad11d6a commit 04f77e7Copy full SHA for 04f77e7
services/web/server/src/simcore_service_webserver/garbage_collector/_tasks_utils.py
@@ -40,7 +40,7 @@ async def periodic_task_lifespan(
40
name=task_name,
41
)
42
43
- # prevents premature garbage collection of the task
+ # Keeping a reference in app's state to prevent premature garbage collection of the task
44
app_task_key = f"gc-tasks/{task_name}"
45
if app_task_key in app:
46
msg = f"Task {task_name} is already registered in the app state"
0 commit comments