Skip to content

Commit 7791505

Browse files
REVERT ME: Allow multiple pruning tasks at once
Do this to get corpuses under control again.
1 parent 679663e commit 7791505

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/clusterfuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,12 +1114,13 @@ def utask_preprocess(fuzzer_name, job_type, uworker_env):
11141114
last_execution_metadata and
11151115
last_execution_metadata.status == data_types.TaskState.FINISHED)
11161116

1117+
# TODO: Revert me.
11171118
# Make sure we're the only instance running for the given fuzzer and
11181119
# job_type.
1119-
if not data_handler.update_task_status(task_name,
1120-
data_types.TaskState.STARTED):
1121-
logs.info('A previous corpus pruning task is still running, exiting.')
1122-
return None
1120+
#if not data_handler.update_task_status(task_name,
1121+
# data_types.TaskState.STARTED):
1122+
# logs.info('A previous corpus pruning task is still running, exiting.')
1123+
# return None
11231124

11241125
setup_input = (
11251126
setup.preprocess_update_fuzzer_and_data_bundles(fuzz_target.engine))

0 commit comments

Comments
 (0)