Merge branch 'master' into 3762-delete-list-worker
[arvados.git] / services / keepstore / keepstore.go
index 83974ffc2c753eb78b2e1912ea83768a28e0fdb4..a363bac2553998e6356216f77472bcbf537b78d3 100644 (file)
@@ -283,9 +283,14 @@ func main() {
                Client:        &http.Client{},
        }
 
+       // Initialize the pullq and worker
        pullq = NewWorkQueue()
        go RunPullWorker(pullq, keepClient)
 
+       // Initialize the trashq and worker
+       trashq = NewWorkQueue()
+       go RunTrashWorker(trashq)
+
        // Shut down the server gracefully (by closing the listener)
        // if SIGTERM is received.
        term := make(chan os.Signal, 1)