disable async file deletion

This commit is contained in:
Chris Lu
2019-01-05 22:51:50 -08:00
parent be9a7592a1
commit bd32108a90
3 changed files with 21 additions and 9 deletions

View File

@@ -329,7 +329,7 @@ func (dir *Dir) removeOneFile(ctx context.Context, req *fuse.RemoveRequest) erro
return err
}
dir.wfs.asyncDeleteFileChunks(entry.Chunks)
dir.wfs.deleteFileChunks(entry.Chunks)
return dir.wfs.withFilerClient(func(client filer_pb.SeaweedFilerClient) error {