清空管道休眠去掉
This commit is contained in:
parent
e5a395d1fc
commit
3dca020d69
|
@ -829,9 +829,9 @@ int hg_scanner_239::discard_all_images(void)
|
||||||
ret = io_->read_interrupt(buf, &size);
|
ret = io_->read_interrupt(buf, &size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
io_->set_timeout(oto);
|
io_->set_timeout(oto);
|
||||||
}
|
}
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(200));
|
//std::this_thread::sleep_for(std::chrono::milliseconds(200));
|
||||||
|
|
||||||
if (pre_int)
|
if (pre_int)
|
||||||
VLOG_MINI_2(LOG_LEVEL_DEBUG_INFO, "prev-connection has left %d interrupt packet(s) && %d image(s).\n", pre_int, pre_img);
|
VLOG_MINI_2(LOG_LEVEL_DEBUG_INFO, "prev-connection has left %d interrupt packet(s) && %d image(s).\n", pre_int, pre_img);
|
||||||
|
|
Loading…
Reference in New Issue