Unverified Commit 369de832 authored by Blake Mizerany's avatar Blake Mizerany Committed by GitHub
Browse files

server/internal/registry: remove superfluous progress bar flush (#10303)

This removes the extra flushProgress() at the end of handlePull. It is
unnecessary because final progress updates are flushed in all cases of
the main select loop.
parent 3457a315
...@@ -284,7 +284,6 @@ func (s *Local) handlePull(w http.ResponseWriter, r *http.Request) error { ...@@ -284,7 +284,6 @@ func (s *Local) handlePull(w http.ResponseWriter, r *http.Request) error {
fl.Flush() fl.Flush()
} }
} }
defer flushProgress()
t := time.NewTicker(1<<63 - 1) // "unstarted" timer t := time.NewTicker(1<<63 - 1) // "unstarted" timer
start := sync.OnceFunc(func() { start := sync.OnceFunc(func() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment