mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-09 04:38:49 +00:00
fix(api): release providers blocked by scans whose worker died (#12899)
This commit is contained in:
1 parent
ed510e217d
commit
a006525e78
9 files changed
+918
-18
No files matched your search
@@ -321,6 +321,12 @@ UI_BASE_URL = env.str("DJANGO_UI_BASE_URL", "").rstrip("/")
|
||||
CSRF_COOKIE_SECURE = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
|
||||
# A scan is dead when its task already finished, its worker stopped answering, or it
|
||||
# shows no progress (`updated_at`) for the backstop; a dispatched scan that never
|
||||
# started is dead after the dispatch age.
|
||||
SCAN_STALE_BACKSTOP_HOURS = env.int("SCAN_STALE_BACKSTOP_HOURS", 12)
|
||||
SCAN_DISPATCH_STALE_HOURS = env.int("SCAN_DISPATCH_STALE_HOURS", 24)
|
||||
|
||||
# Attack Paths
|
||||
ATTACK_PATHS_SCAN_INACTIVITY_THRESHOLD_MINUTES = env.int(
|
||||
"ATTACK_PATHS_SCAN_INACTIVITY_THRESHOLD_MINUTES", 30
|
||||
|
||||
Reference in new issue
Block a user