aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_common.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-08 00:53:55 -0800
committerchrislu <chris.lu@gmail.com>2022-02-08 00:53:55 -0800
commitf18803424aa64877971330e60d2a4207d5bf1bd2 (patch)
tree426d9b4aa5c56702e92d6b840d1a595c88c7a64e /weed/shell/command_ec_common.go
parent98604059741190178efd26ad788d52f067b3097c (diff)
downloadseaweedfs-f18803424aa64877971330e60d2a4207d5bf1bd2.tar.xz
seaweedfs-f18803424aa64877971330e60d2a4207d5bf1bd2.zip
volume.balance: add delay during tight loop
fix https://github.com/chrislusf/seaweedfs/issues/2637
Diffstat (limited to 'weed/shell/command_ec_common.go')
-rw-r--r--weed/shell/command_ec_common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.go
index 765c0ad89..3ca310b5d 100644
--- a/weed/shell/command_ec_common.go
+++ b/weed/shell/command_ec_common.go
@@ -206,7 +206,7 @@ func collectEcNodes(commandEnv *CommandEnv, selectedDataCenter string) (ecNodes
// list all possible locations
// collect topology information
- topologyInfo, _, err := collectTopologyInfo(commandEnv)
+ topologyInfo, _, err := collectTopologyInfo(commandEnv, 0)
if err != nil {
return
}