aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_collection_list.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_collection_list.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_collection_list.go')
-rw-r--r--weed/shell/command_collection_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_collection_list.go b/weed/shell/command_collection_list.go
index bc9f115bd..55fd6d9b9 100644
--- a/weed/shell/command_collection_list.go
+++ b/weed/shell/command_collection_list.go
@@ -38,7 +38,7 @@ func (c *commandCollectionList) Do(args []string, commandEnv *CommandEnv, writer
return err
}
- topologyInfo, _, err := collectTopologyInfo(commandEnv)
+ topologyInfo, _, err := collectTopologyInfo(commandEnv, 0)
if err != nil {
return err
}