zeroc-ice / ice

All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
https://zeroc.com
GNU General Public License v2.0
2k stars 592 forks source link

Simplify/fix inactivity timeout check in C++ #2303

Closed bernardnormier closed 1 week ago

bernardnormier commented 2 weeks ago

This PR implements my inactivity timeout simplification proposal (see #2222).

With this PR, we only schedule the inactivity timer task in one spot - sendMessage - when we send a heartbeat and when various other conditions are met.