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 9cea321 commit e83c7f4Copy full SHA for e83c7f4
src/clusterfuzz/_internal/bot/tasks/commands.py
@@ -80,7 +80,7 @@ class AlreadyRunningError(Error):
80
def cleanup_task_state():
81
"""Cleans state before and after a task is executed."""
82
# Cleanup stale processes.
83
- if not environment.is_tworker():
+ if environment.is_tworker():
84
return
85
process_handler.cleanup_stale_processes()
86
0 commit comments