Call connection_online_update after sending service queries.
This commit is contained in:
parent
aa5093b361
commit
57a3773fd6
@ -1573,6 +1573,8 @@ void Session::loop() {
|
|||||||
connection_open(&main_connection_, now, true /*send ask_info*/);
|
connection_open(&main_connection_, now, true /*send ask_info*/);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
connection_online_update(now, false); // has_queries() could have been changed
|
||||||
|
|
||||||
relax_timeout_at(&wakeup_at, main_connection_.wakeup_at_);
|
relax_timeout_at(&wakeup_at, main_connection_.wakeup_at_);
|
||||||
|
|
||||||
double wakeup_in = 0;
|
double wakeup_in = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user