fix(api): apply long task limits to Attack Paths scans (#12014)

Co-authored-by: Josema Camacho <josema@prowler.com>
This commit is contained in:
Prowler Bot
2026-07-16 11:03:55 +02:00
committed by GitHub
parent bbd0b1fe3c
commit 42ff2dfd75
3 changed files with 3 additions and 0 deletions
@@ -0,0 +1 @@
`attack-paths-scan-perform` Celery tasks now use the configurable long-task time limits instead of the six-hour defaults
+1
View File
@@ -74,6 +74,7 @@ celery_app.conf.task_annotations = {
for name in (
"scan-perform",
"scan-perform-scheduled",
"attack-paths-scan-perform",
"provider-deletion",
"tenant-deletion",
)
@@ -3304,6 +3304,7 @@ class TestTaskTimeLimits:
for name in (
"scan-perform",
"scan-perform-scheduled",
"attack-paths-scan-perform",
"provider-deletion",
"tenant-deletion",
):