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

Function mon_timer_popped

tools/crm_mon.c:165–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165static gboolean
166mon_timer_popped(gpointer data)
167{
168 int rc = pcmk_ok;
169
170 if (timer_id > 0) {
171 g_source_remove(timer_id);
172 }
173
174 rc = cib_connect(TRUE);
175
176 if (rc != pcmk_ok) {
177 print_dot();
178 timer_id = g_timeout_add(reconnect_msec, mon_timer_popped, NULL);
179 }
180 return FALSE;
181}
182
183static void
184mon_cib_connection_destroy(gpointer user_data)

Callers

nothing calls this directly

Calls 1

cib_connectFunction · 0.70

Tested by

no test coverage detected