distribution/docs
Aaron Lehmann 84595fc628 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
..
api Merge pull request #1035 from aaronlehmann/host-parameter-alternate 2015-10-13 14:03:48 -07:00
auth Switch tests to import "github.com/docker/distribution/context" 2015-08-20 14:50:12 -07:00
client Update to provide small and clear interfaces 2015-10-09 16:05:49 -07:00
handlers Add http.host parameter 2015-09-30 15:12:01 -07:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxy Simplify proxy scheduler 2015-10-15 09:18:21 -07:00
storage Update to provide small and clear interfaces 2015-10-09 16:05:49 -07:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Add WithVersion to context and other cleanup 2015-09-14 17:14:31 -07:00