Workaround clang ICE "ran out of registers during register allocation".
GitOrigin-RevId: d977f131b117c3d3907e505c6245ff587b7c6db0
This commit is contained in:
parent
288b2efd02
commit
81890f309f
@ -681,9 +681,9 @@ Status SessionConnection::init() {
|
||||
void SessionConnection::set_online(bool online_flag) {
|
||||
online_flag_ = online_flag;
|
||||
if (online_flag_) {
|
||||
last_pong_at_ = Time::now_cached() - ping_disconnect_delay() + rtt(); // disconnect if no ping in 1 second
|
||||
last_pong_at_ = Time::now() - ping_disconnect_delay() + rtt();
|
||||
} else {
|
||||
last_pong_at_ = Time::now_cached();
|
||||
last_pong_at_ = Time::now();
|
||||
}
|
||||
last_ping_at_ = 0;
|
||||
last_ping_message_id_ = 0;
|
||||
|
Reference in New Issue
Block a user