RPC function for (re)loading (no db init) data for all partitions; * This is fired from child_init(child==1) only once, so close connections * when done */
| 447 | * This is fired from child_init(child==1) only once, so close connections |
| 448 | * when done */ |
| 449 | static void dp_rpc_data_load(int sender_id, void *unused) |
| 450 | { |
| 451 | if(dp_load_all_db(1) != 0){ |
| 452 | LM_ERR("failed to reload database\n"); |
| 453 | return; |
| 454 | } |
| 455 | dp_disconnect_all_db(); |
| 456 | } |
| 457 | |
| 458 | |
| 459 | static int child_init(int rank) |
nothing calls this directly
no test coverage detected