5748: Remove runtime.GC() obsoleted by bufferpool. refs #5748
authorTom Clegg <tom@curoverse.com>
Wed, 20 May 2015 14:15:30 +0000 (10:15 -0400)
committerTom Clegg <tom@curoverse.com>
Wed, 20 May 2015 14:15:30 +0000 (10:15 -0400)
services/keepstore/handlers.go

index 16c39c2c88f247da8ef011ce2a4ca37f07a9c0c5..8a360a4a7f75af7cb048b064df01e5b443fe30e8 100644 (file)
@@ -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