Browse Source

ticker.Stop

pull/3298/head
Konstantin Lebedev 2 years ago
parent
commit
d422e7769c
  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