mirror of
git://erdgeist.org/opentracker
synced 2025-04-21 21:52:00 +02:00
Now we also check, if no io happens
This commit is contained in:
parent
ac8e26f99b
commit
8ecfe9a36f
1 changed files with 3 additions and 1 deletions
|
@ -391,7 +391,9 @@ allparsed:
|
|||
|
||||
for (;;) {
|
||||
int64 i;
|
||||
io_wait();
|
||||
taia_now(&t);
|
||||
taia_addsec(&t,&t,OT_CLIENT_TIMEOUT_CHECKINTERVAL);
|
||||
io_waituntil(t);
|
||||
|
||||
taia_now(&t);
|
||||
if( taia_less( &next_timeout_check, &t ) ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue