start 清空bulk时 超时时间设置为1000ms
This commit is contained in:
parent
ec2d8a5420
commit
60f0065af8
|
@ -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_);
|
||||
|
|
Loading…
Reference in New Issue