aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-03-16 00:33:14 -0700
committerChris Lu <chris.lu@gmail.com>2021-03-16 00:33:14 -0700
commit4b1ed227d12323ab3f3c67a0b39967c84a053bc4 (patch)
tree3f5b27fa912efe8ae8ecb33716dcf5c5074d93b1 /weed/command/benchmark.go
parent10164d0386460c1c39ed8b5ee5c434704a2b28fd (diff)
downloadseaweedfs-4b1ed227d12323ab3f3c67a0b39967c84a053bc4.tar.xz
seaweedfs-4b1ed227d12323ab3f3c67a0b39967c84a053bc4.zip
revert fasthttp changes
related to https://github.com/chrislusf/seaweedfs/issues/1907
Diffstat (limited to 'weed/command/benchmark.go')
-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 af0793c70..4fedb55f1 100644
--- a/weed/command/benchmark.go
+++ b/weed/command/benchmark.go
@@ -305,7 +305,7 @@ func readFiles(fileIdLineChan chan string, s *stat) {
}
var bytes []byte
for _, url := range urls {
- bytes, _, err = util.FastGet(url)
+ bytes, _, err = util.Get(url)
if err == nil {
break
}