Commit 9de03f5e authored by Eric's avatar Eric Committed by Eric_Lee

fix sftp 延迟问题

parent 73da96ac
...@@ -385,7 +385,6 @@ func (fs *sftpHandler) CreateFTPLog(data *model.FTPLog) { ...@@ -385,7 +385,6 @@ func (fs *sftpHandler) CreateFTPLog(data *model.FTPLog) {
break break
} }
logger.Debugf("create FTP log err: %s", err.Error()) logger.Debugf("create FTP log err: %s", err.Error())
time.Sleep(500 * time.Millisecond)
} }
} }
......
...@@ -937,7 +937,6 @@ func (u *UserVolume) CreateFTPLog(data *model.FTPLog) { ...@@ -937,7 +937,6 @@ func (u *UserVolume) CreateFTPLog(data *model.FTPLog) {
break break
} }
logger.Debugf("create FTP log err: %s", err.Error()) logger.Debugf("create FTP log err: %s", err.Error())
time.Sleep(500 * time.Millisecond)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment