volume.balance: add delay during tight loop

fix https://github.com/chrislusf/seaweedfs/issues/2637
This commit is contained in:
chrislu committed 2022-02-08 00:53:55 -08:00
1 parent 9860405974
commit f18803424a
16 files changed
+22 -17

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ func volumeServerEvacuate(commandEnv *CommandEnv, volumeServer string, skipNonMo
// list all the volumes
// collect topology information
topologyInfo, _, err := collectTopologyInfo(commandEnv)
topologyInfo, _, err := collectTopologyInfo(commandEnv, 0)
if err != nil {
return err
}