MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / cib_async_timeout_handler

Function cib_async_timeout_handler

lib/cib/cib_client.c:522–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522static gboolean
523cib_async_timeout_handler(gpointer data)
524{
525 struct timer_rec_s *timer = data;
526
527 crm_debug("Async call %d timed out after %ds", timer->call_id, timer->timeout);
528 cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME);
529
530 /* Always return TRUE, never remove the handler
531 * We do that in remove_cib_op_callback()
532 */
533 return TRUE;
534}
535
536gboolean
537cib_client_register_callback(cib_t * cib, int call_id, int timeout, gboolean only_success,

Callers

nothing calls this directly

Calls 1

cib_native_callbackFunction · 0.85

Tested by

no test coverage detected