gear/gear
Tobias Henkel 71dbac070c
Add support for keepalive to client
A gearman client only waiting for jobs will wait indefinitely if the
gearman server vanishes (e.g. due to a VM crash). In this case there
is no traffic on the connection and the client blocks forever if there
is nothing in between that forcefully terminates the connection.

Adding tcp keepalive can mitigate that and the connection will be
terminated by the kernel in this situation which then triggers a
reconnect.

Change-Id: I8589cd45450245a25539c051355b38d16ee9f4b9
2018-09-04 13:50:04 +02:00
..
cmd Add --listen-address flag to geard 2018-04-16 16:27:49 -04:00
tests Automatically send GRAB_JOB after CAN_DO 2018-02-02 11:19:14 -08:00
__init__.py Add support for keepalive to client 2018-09-04 13:50:04 +02:00
acl.py Re-enable flake8 2016-11-08 11:57:04 -06:00
constants.py Re-enable flake8 2016-11-08 11:57:04 -06:00