Skip to content

Commit

Permalink
bazel: make dl.google.com higher priority
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Mar 10, 2023
1 parent 39dc1b7 commit 4ba8e60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resourcemanager/pool/spool/spool.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ func (p *Pool) Tune(size int) {
if size == 0 {
return
}
p.mu.Lock()
defer p.mu.Unlock()
p.SetLastTuneTs(time.Now())
p.capacity.Store(int32(size))
p.concurrencyMetrics.Set(float64(size))
Expand Down

0 comments on commit 4ba8e60

Please sign in to comment.