Feature #693269

Enable client heartbeat by default

Added by Jacob Nevins 28 days ago. Updated 12 days ago.

Target version:
Start date:
Due date:
% Done:



Gna bug #19561 (debuting in 2.6) added an option client ping to the server, to help diagnose the case where there was/is a connection outage, the server has cut the connection due to ping timeout, and the player is waiting for something to appear in the client (such as turn change or game start).

It's currently disabled by default. Perhaps it would be more useful if it were enabled.

  • The people most likely to be helped by this diagnostic are those least likely to find the option and turn it on.
  • The server is always pinging the client, so unlike a tool like PuTTY (which has keepalives off by default), there's no chance in this case of a connection otherwise surviving a connection loss of a few minutes or more.
  • Risk of regression from new feature (that's why it's off by default).
  • Bit more network traffic even for non-idle clients?

m-30-26-client-heartbeat-enable.patch View (934 Bytes) Jacob Nevins, 2017-09-10 12:38 PM


#1 Updated by Marko Lindqvist 16 days ago

  • Target version changed from 2.6.0 to 2.6.0-beta2

#2 Updated by Jacob Nevins 14 days ago

  • File m-30-26-client-heartbeat-enable.patch View added
  • Subject changed from Enable client heartbeat by default? to Enable client heartbeat by default
  • Status changed from New to Resolved
  • Assignee set to Jacob Nevins
  • Target version changed from 2.6.0-beta2 to 2.6.0-beta1

I intend to enable this in beta1, otherwise anyone who installs that will get the default in their rc-file and not exercise it.
I would rather know early, if it's going to cause trouble.

For what it's worth, I have been running with it enabled locally since I raised this ticket, and nothing has exploded yet.

#3 Updated by Jacob Nevins 12 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF