closes #5930. Merge branch '5930-smalldocfix'
[arvados.git] / services / keepstore / handlers.go
index 16c39c2c88f247da8ef011ce2a4ca37f07a9c0c5..8930b79c338883327b404c2a39375f54cdf3dec3 100644 (file)
@@ -19,7 +19,6 @@ import (
        "net/http"
        "os"
        "regexp"
-       "runtime"
        "strconv"
        "strings"
        "syscall"
@@ -126,10 +125,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