MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / dr_cluster_sync

Function dr_cluster_sync

modules/drouting/dr_clustering.c:357–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357int dr_cluster_sync(void)
358{
359 if (!dr_cluster_id)
360 return 0;
361
362 if (c_api.request_sync(&status_repl_cap, dr_cluster_id, 0) < 0) {
363 LM_ERR("Sync request failed\n");
364 return -1;
365 }
366
367 return 0;
368}
369
370static int get_cluster_prob_mode(char *mode)
371{

Callers 3

rpc_dr_reload_dataFunction · 0.85
dr_reload_cmdFunction · 0.85
dr_reload_cmd_1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected