sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

Fixes #133 #134

Closed infraweavers closed 6 years ago

infraweavers commented 6 years ago

Previously when the dupserver gearmand instance fails the retry would override current_client with current_client_dup leading to results being missed by the non-dupservers.

We've changed it so that create_client no longer sets current_client and the logic for setting this has been pushed to the consumer of the create_client function. This means we can delete create_client_dup; this also means that the timeout is now set for dupserver clients.

This may also fix #111 as it looks similar in behaviour

sni commented 6 years ago

perfect, thank you

infraweavers commented 6 years ago

@sni is it possible to get this included in OMD 2.80?

sni commented 6 years ago

yes, this will be in omd 2.80.