distribution/registry/proxy
Aaron Lehmann c56e8c2533 Simplify proxy scheduler
The proxy scheduler implemented its own timer state machine. It's
simpler and more efficient to leverage the Go runtime's timer heap by
using time.AfterFunc.

This commit adds a time.Timer to each scheduler entry, and starts and
stops those timers as necessary. Then the mainloop goroutine and its
associated logic are not needed.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-10-15 09:18:21 -07:00
..
scheduler Simplify proxy scheduler 2015-10-15 09:18:21 -07:00
proxyauth.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxyblobstore.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxyblobstore_test.go Functional options for NewRegistryWithDriver 2015-08-19 11:06:30 -07:00
proxymanifeststore.go Avoid returning nil, nil when fetching a manifest by tag by introducing a new 2015-09-18 16:19:37 -07:00
proxymanifeststore_test.go Move manifest package to schema1 2015-08-21 16:29:47 -07:00
proxymetrics.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxyregistry.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00