Skip to content

Commit

Permalink
update file
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong committed Nov 10, 2023
1 parent 8f8a082 commit 689b0f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions route/v1/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ func PostFileUpload(c *gin.Context) {
return
}
go func() {

time.Sleep(11 * time.Second)
if err := file.RMDir(tempDir); err != nil {
logger.Error("error when trying to remove `"+tempDir+"`", zap.Error(err))
Expand Down

0 comments on commit 689b0f7

Please sign in to comment.