apiserver/pkg/util/flowcontrol
Mike Spreitzer 8c2108bc80 Refactor goroutine counting
Add comment outlining TestContextCancel.

Stop calling `t.Errorf` from wrong goroutine.

Package up queueNoteFn expectation checking.

Add counting of goroutine in req1 exec fn.

Remove unnecessary assignment to `_`.

Make TestContextCancel wait on fake clock, to insulate timing check
from scheduler noise.

Factor goroutine counting out of queueset.go, into queueset_test.go,
where it matters.

Refactor promise: Use a simple channel-based implementation for normal
code, a mutex-based one for testing code.

Took all the panics out of queueset.go

Shrink the timeouts in promise tests to 1 second.

Kubernetes-commit: 1db36ae3b30e30d70972998a22987a7db470479b
2021-07-29 00:35:25 -04:00
..
counter Refactor goroutine counting 2021-07-29 00:35:25 -04:00
debug apf: add "width" for request 2021-05-11 07:03:05 -04:00
fairqueuing Refactor goroutine counting 2021-07-29 00:35:25 -04:00
format Fix typo for ServiceAccount 2020-12-02 01:38:46 +08:00
metrics Add APF metrics about R(t) 2021-06-14 16:48:27 -04:00
request apiserver: add callback to get notified of object count 2021-07-14 16:44:34 -04:00
OWNERS Create OWNERS for most of the API Priority and Fairness impl 2020-12-11 17:54:59 -05:00
apf_context.go Implement support for watch initialization in P&F 2021-05-07 12:49:06 +02:00
apf_controller.go fix unsafe json construction for digestConfigObjects. 2021-08-01 18:43:40 -07:00
apf_controller_debug.go Remove phantoms from dump_requests output 2020-07-24 00:35:26 -04:00
apf_filter.go Refactor goroutine counting 2021-07-29 00:35:25 -04:00
controller_test.go Rename width to workEstimate in P&F code 2021-07-13 15:10:58 +02:00
filter_test.go Added API Priority and Fairness filter and config consumer 2020-01-25 19:47:12 -05:00
formatting.go Added API Priority and Fairness filter and config consumer 2020-01-25 19:47:12 -05:00
gen_test.go flowcontrol: make TestConfigConsumer less time-consuming 2021-02-02 11:20:18 +00:00
match_test.go Rename width to workEstimate in P&F code 2021-07-13 15:10:58 +02:00
patch_test.go fix unsafe json construction for digestConfigObjects. 2021-08-01 18:43:40 -07:00
rule.go APF: graduate API and types to beta 2020-11-04 16:33:14 +08:00
watch_tracker.go Add watch tracker to APF for request cost estimation 2021-06-15 10:49:42 +02:00
watch_tracker_test.go Add watch tracker to APF for request cost estimation 2021-06-15 10:49:42 +02:00