projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5c66d1
)
5748: Remove runtime.GC() obsoleted by bufferpool. refs #5748
author
Tom Clegg <tom@curoverse.com>
Wed, 20 May 2015 14:15:30 +0000
(10:15 -0400)
committer
Tom Clegg <tom@curoverse.com>
Wed, 20 May 2015 14:15:30 +0000
(10:15 -0400)
services/keepstore/handlers.go
patch
|
blob
|
history
diff --git
a/services/keepstore/handlers.go
b/services/keepstore/handlers.go
index 16c39c2c88f247da8ef011ce2a4ca37f07a9c0c5..8a360a4a7f75af7cb048b064df01e5b443fe30e8 100644
(file)
--- a/
services/keepstore/handlers.go
+++ b/
services/keepstore/handlers.go
@@
-126,10
+126,6
@@
func GetBlockHandler(resp http.ResponseWriter, req *http.Request) {
}
func PutBlockHandler(resp http.ResponseWriter, req *http.Request) {
- // Garbage collect after each PUT. Fixes #2865.
- // See also GetBlockHandler.
- defer runtime.GC()
-
hash := mux.Vars(req)["hash"]
// Detect as many error conditions as possible before reading