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

Function reload_timer

modules/sql_cacher/sql_cacher.c:1193–1205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193void reload_timer(unsigned int ticks, void *param)
1194{
1195 db_handlers_t *db_hdls;
1196
1197 for (db_hdls = db_hdls_list; db_hdls; db_hdls = db_hdls->next) {
1198 if (db_hdls->c_entry->on_demand)
1199 continue;
1200
1201 if (load_entire_table(db_hdls->c_entry, db_hdls, 1) < 0)
1202 LM_ERR("Failed to reload table %.*s\n", db_hdls->c_entry->table.len,
1203 db_hdls->c_entry->table.s);
1204 }
1205}
1206
1207static mi_item_t *mi_reload(const mi_params_t *params, str *key)
1208{

Callers

nothing calls this directly

Calls 1

load_entire_tableFunction · 0.85

Tested by

no test coverage detected