Commit 80b8de6c authored by Artem Prilutskiy's avatar Artem Prilutskiy

Improved accuracy

parent 904669f1
......@@ -348,17 +348,16 @@ int WaitForRewindSessionEnd(struct RewindContext* context, struct RewindSessionP
threshold2.tv_sec = 0;
threshold2.tv_usec = 0;
}
if ((threshold2.tv_sec != 0) &&
(timercmp(&now, &threshold2, >)))
{
// No active sessions during <interval2>
return CLIENT_ERROR_SUCCESS;
}
state |= 0b10;
break;
}
if ((threshold2.tv_sec != 0) &&
(timercmp(&now, &threshold2, >)))
{
// No active sessions during <interval2>
return CLIENT_ERROR_SUCCESS;
}
if (state == 0b11)
{
// Got REWIND_TYPE_KEEP_ALIVE and REWIND_TYPE_SESSION_POLL
......
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