milvus/pkg/util/contextutil
chyezh 641f702f64
fix: add request resource timeout for lazy load, refactor context usage in cache (#32709)
issue: #32663

- Use new param to control request resource timeout for lazy load.

- Remove the timeout parameter of `Do`, remove `DoWait`. use `context`
to control the timeout.

- Use `VersionedNotifier` to avoid notify event lost and broadcast,
remove the redundant goroutine in cache.

related dev pr: #32684

Signed-off-by: chyezh <chyezh@outlook.com>
2024-05-07 16:33:30 +08:00
..
context_util_test.go enhance: make the auth error message more suitable (#32253) 2024-04-16 16:47:19 +08:00
context_util.go fix: add request resource timeout for lazy load, refactor context usage in cache (#32709) 2024-05-07 16:33:30 +08:00