Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update backend/scanners/api_security_scanner.py
Browse files
backend/scanners/api_security_scanner.py
CHANGED
|
@@ -384,7 +384,7 @@ class ApiSecurityScanner(BaseScanner):
|
|
| 384 |
if status == 429:
|
| 385 |
rate_limited = True
|
| 386 |
break
|
| 387 |
-
|
| 388 |
|
| 389 |
if rate_limited:
|
| 390 |
# Try bypass headers
|
|
|
|
| 384 |
if status == 429:
|
| 385 |
rate_limited = True
|
| 386 |
break
|
| 387 |
+
# No sleep needed — requests run as fast as socket allows
|
| 388 |
|
| 389 |
if rate_limited:
|
| 390 |
# Try bypass headers
|