Commit 6605008
authored
fix: Increase K8s client rate limits for parallel SSAR checks (#433)
## Summary
This PR fixes a critical performance issue discovered after merging #428
(pagination and parallel SSAR checks).
### Problem
The default Kubernetes client rate limits (QPS=5, Burst=10) were causing
significant throttling during parallel SSAR checks:
```
"Waited before sending request" delay="1.997446758s" reason="client-side throttling"
```
### Solution
Increase rate limits:
- QPS: 5 → 100
- Burst: 10 → 200
### Performance Impact
Tested with 51 namespaces:
- **Before**: 8.2 seconds
- **After**: 50 milliseconds
- **Improvement**: ~164x faster
### Testing
Verified on dev cluster with 51 managed namespaces. Timing logs
confirmed SSAR checks completed in 30ms with the increased rate limits.1 parent 278221f commit 6605008
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments