moby/vendor/golang.org/x/sync
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
..
errgroup vendor: golang.org/x/sync v0.1.0 2022-11-09 13:50:51 +01:00
semaphore vendor: golang.org/x/sync 6e8e738ad208923de99951fe0b48239bfd864f28 2021-04-08 17:15:12 +02:00
syncmap vendor: golang.org/x/sync 036812b2e83c0ddf193dd5a34e034151da389d09 2021-06-15 16:20:44 +02:00
LICENSE Vendor syncmap 2017-05-01 11:49:43 -04:00
PATENTS Vendor syncmap 2017-05-01 11:49:43 -04:00