You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current networking implementation in cachegrand already has a basic support for handling the socket keepalive settings, but this needs to be improved as it's not possible to set the time, the interval and the probes parameters instead already exposed in the config file.
These settings are extremely useful, especially when cachegrand runs behind reverse nats (common on cloud providers, e.g. Amazon) as otherwise long running connections would be closed resulting in failed operations.
The text was updated successfully, but these errors were encountered:
This PR implements 3 new network io functions to set the keepalive idel, interval and count and update the mechanism used to enable / disable the keepalive to:
set the keepalive parameters only if the keepalive block is present in the configuration
do not fail, only report a warning, if the keepalive parameters are for some reason refused
The PR closes#84
The current networking implementation in cachegrand already has a basic support for handling the socket keepalive settings, but this needs to be improved as it's not possible to set the
time
, theinterval
and theprobes
parameters instead already exposed in the config file.These settings are extremely useful, especially when cachegrand runs behind reverse nats (common on cloud providers, e.g. Amazon) as otherwise long running connections would be closed resulting in failed operations.
The text was updated successfully, but these errors were encountered: