Skip to content

Commit

Permalink
modify remove
Browse files Browse the repository at this point in the history
  • Loading branch information
sjqzhang committed Oct 31, 2023
1 parent 493f4de commit 4b5eb2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/http_remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ func (c *Server) RemoveEmptyDir(w http.ResponseWriter, r *http.Request) {
)
result.Status = "ok"
if c.IsPeer(r) {
go c.util.RemoveEmptyDir(DATA_DIR)
go c.util.RemoveEmptyDir(STORE_DIR)
//go c.util.RemoveEmptyDir(DATA_DIR)
go cleanEmptyFolders(STORE_DIR)
result.Message = "clean job start ..,don't try again!!!"
w.Write([]byte(c.util.JsonEncodePretty(result)))
} else {
Expand Down

0 comments on commit 4b5eb2b

Please sign in to comment.