aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-12 05:59:52 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-12 05:59:52 -0800
commit7d9dc3c6a273e21d719605a650504a30e545b078 (patch)
treefdcecf9ba99f7a88cab976c6879c338408e26fc6 /weed/command
parent487e435679d6c8cc153b8ef048b8957478cd3d0c (diff)
downloadseaweedfs-7d9dc3c6a273e21d719605a650504a30e545b078.tar.xz
seaweedfs-7d9dc3c6a273e21d719605a650504a30e545b078.zip
use fasthttp lib to read
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/benchmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go
index 351efd3dc..c3ca6370a 100644
--- a/weed/command/benchmark.go
+++ b/weed/command/benchmark.go
@@ -293,7 +293,7 @@ func readFiles(fileIdLineChan chan string, s *stat) {
}
var bytes []byte
for _, url := range urls {
- bytes, _, err = util.Get(url)
+ bytes, _, err = util.FastGet(url)
if err == nil {
break
}