update file
This commit is contained in:
parent
8f8a082888
commit
689b0f769a
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue