Commit c1ca755
committed
fix(perf): use resourceVersion=0 for faster informer initialization
Set resourceVersion=0 in informer ListOptions to use API server's
watch cache instead of etcd for initial list operations. This
speeds up informer initialization when there are large numbers
of Application resources.1 parent c34d44a commit c1ca755
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
315 | 323 | | |
316 | 324 | | |
317 | 325 | | |
| |||
0 commit comments