Commit 1074df9
committed
perf: remove unnecessary 10s periodic requeue from controllers
- Remove RequeueAfter=10s from both Overcommit and OvercommitClass
reconcilers to reduce unnecessary API server load
- Rely on event-driven reconciliation (watches) which is the standard
controller-runtime pattern for reacting to resource changes1 parent 022a3b2 commit 1074df9
2 files changed
Lines changed: 4 additions & 10 deletions
File tree
- internal/controller
- overcommitclass
- overcommit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 393 | + | |
| 394 | + | |
398 | 395 | | |
399 | 396 | | |
400 | 397 | | |
| |||
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
| 396 | + | |
| 397 | + | |
401 | 398 | | |
0 commit comments