start 清空bulk时 超时时间设置为1000ms

This commit is contained in:
13038267101 2023-04-28 09:52:27 +08:00
parent ec2d8a5420
commit 60f0065af8
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ int hg_scanner_300::discard_all_images(void)
{
int block = 1024 * 512;
int cnt = 0, ret = SCANNER_ERR_OK;
io_->set_timeout(1000);
string str;
{
std::lock_guard<std::mutex> lock(io_lock_);