mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 21:54:01 +08:00
ticker.Stop
This commit is contained in:
@@ -118,6 +118,7 @@ func (c *commandVolumeServerEvacuate) evacuateNormalVolumes(commandEnv *CommandE
|
|||||||
|
|
||||||
// move away normal volumes
|
// move away normal volumes
|
||||||
ticker := time.NewTicker(topologyInfoUpdateInterval)
|
ticker := time.NewTicker(topologyInfoUpdateInterval)
|
||||||
|
defer ticker.Stop()
|
||||||
for _, thisNode := range thisNodes {
|
for _, thisNode := range thisNodes {
|
||||||
for _, diskInfo := range thisNode.info.DiskInfos {
|
for _, diskInfo := range thisNode.info.DiskInfos {
|
||||||
if applyChange {
|
if applyChange {
|
||||||
|
Reference in New Issue
Block a user