Browse Source

ticker.Stop

pull/3338/head
Konstantin Lebedev 2 years ago
parent
commit
e2d991d8d0
  1. 1
      weed/shell/command_volume_server_evacuate.go

1
weed/shell/command_volume_server_evacuate.go

@ -118,6 +118,7 @@ func (c *commandVolumeServerEvacuate) evacuateNormalVolumes(commandEnv *CommandE
// move away normal volumes
ticker := time.NewTicker(topologyInfoUpdateInterval)
defer ticker.Stop()
for _, thisNode := range thisNodes {
for _, diskInfo := range thisNode.info.DiskInfos {
if applyChange {

Loading…
Cancel
Save