Skip to content
Snippets Groups Projects
Commit 86c79314 authored by Mark Michelson's avatar Mark Michelson Committed by Gerrit Code Review
Browse files

Merge "res_sorcery_memory_cache: Add test event when a refresh occurs."

parents 269fbff3 19de2bbc
Branches
Tags
No related merge requests found
......@@ -789,6 +789,10 @@ static int stale_item_update(const void *data)
object);
}
ast_test_suite_event_notify("SORCERY_MEMORY_CACHE_REFRESHED", "Cache: %s\r\nType: %s\r\nName: %s\r\n",
task_data->cache->name, ast_sorcery_object_get_type(task_data->object),
ast_sorcery_object_get_id(task_data->object));
ao2_ref(task_data, -1);
end_stale_update();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment