version 2.33.0

piMinSleep() method
This commit is contained in:
2021-11-16 14:43:57 +03:00
parent 48c885e12a
commit a2a205cfd2
12 changed files with 28 additions and 26 deletions

View File

@@ -346,7 +346,7 @@ bool PIBaseTransfer::send_process() {
if (chk == 0) return finish_send(true);
if (chk != prev_chk) rtm.reset();
else if (rtm.elapsed_m() < 100) {
piMSleep(PIP_MIN_MSLEEP);
piMinSleep();
continue;
}
if (is_pause) {
@@ -507,7 +507,7 @@ bool PIBaseTransfer::getStartRequest() {
return true;
}
mutex_session.unlock();
piMSleep(PIP_MIN_MSLEEP);
piMinSleep();
}
return false;
}