We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f045493 commit 5cd0358Copy full SHA for 5cd0358
1 file changed
lib/cuckoo/common/cleaners_utils.py
@@ -498,7 +498,7 @@ def cuckoo_clean_before(args: dict):
498
log.info("url filter applied")
499
category = "url"
500
501
- old_tasks = db.list_tasks(added_before=added_before, category=category)
+ old_tasks = db.list_tasks(added_before=added_before, category=category, status_not=TASK_PENDING)
502
503
# We need this to cleanup file system and MongoDB calls collection
504
id_arr = [e.id for e in old_tasks]
0 commit comments