workers: Drop sectors from origin after transfers

This commit is contained in:
Łukasz Magiera
2020-03-22 05:27:28 +01:00
parent 709fd034b4
commit 971fe6fdfd
7 changed files with 147 additions and 17 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ var runCmd = &cli.Command{
rpcServer.Register("Filecoin", apistruct.PermissionedWorkerAPI(workerApi))
mux.Handle("/rpc/v0", rpcServer)
mux.PathPrefix("/remote").HandlerFunc((&stores.FetchHandler{Store: localStore}).ServeHTTP)
mux.PathPrefix("/remote").HandlerFunc((&stores.FetchHandler{Local: localStore}).ServeHTTP)
mux.PathPrefix("/").Handler(http.DefaultServeMux) // pprof
ah := &auth.Handler{