moby/vendor/golang.org/x
Paweł Gronowski dec81e489f
daemon/disk_usage: Use context aware singleflight
The singleflight function was capturing the context.Context of the first
caller that invoked the `singleflight.Do`. This could cause all
concurrent calls to be cancelled when the first request is cancelled.

singleflight calls were also moved from the ImageService to Daemon, to
avoid having to implement this logic in both graphdriver and containerd
based image services.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2022-11-29 16:46:19 +01:00
..
crypto vendor: golang.org/x/crypto v0.1.0 2022-11-15 13:43:28 +01:00
net vendor: golang.org/x/net v0.1.0 2022-11-09 13:50:51 +01:00
oauth2 vendor: golang.org/x/oauth2 v0.1.0 2022-11-15 13:43:31 +01:00
sync daemon/disk_usage: Use context aware singleflight 2022-11-29 16:46:19 +01:00
sys vendor: github.com/rootless-containers/rootlesskit v1.1.0 2022-11-15 20:43:09 +09:00
text vendor: golang.org/x/net v0.1.0 2022-11-09 13:50:51 +01:00
time vendor: golang.org/x/time v0.1.0 2022-11-09 13:50:51 +01:00