Commit 43e1504d authored by Eric's avatar Eric

fix sftp 延迟问题

parent bbf21f9e
......@@ -385,7 +385,6 @@ func (fs *sftpHandler) CreateFTPLog(data *model.FTPLog) {
break
}
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) {
break
}
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