diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-02-12 05:59:52 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-02-12 05:59:52 -0800 |
| commit | 7d9dc3c6a273e21d719605a650504a30e545b078 (patch) | |
| tree | fdcecf9ba99f7a88cab976c6879c338408e26fc6 /weed/command/benchmark.go | |
| parent | 487e435679d6c8cc153b8ef048b8957478cd3d0c (diff) | |
| download | seaweedfs-7d9dc3c6a273e21d719605a650504a30e545b078.tar.xz seaweedfs-7d9dc3c6a273e21d719605a650504a30e545b078.zip | |
use fasthttp lib to read
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 2 |
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 } |
