mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 20:06:19 +08:00
Thread-safe fixes:
1. avoid sharing []byte 2. switch to use ReadAt()
This commit is contained in:
@@ -18,6 +18,6 @@ func Delete(url string) error {
|
||||
glog.V(0).Infoln("failing to delete", url)
|
||||
return err
|
||||
}
|
||||
_, err = http.DefaultClient.Do(req)
|
||||
_, err = client.Do(req)
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user