]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_sorcery_memory_cache: Add support for a full backend cache. 08/1808/5
authorJoshua Colp <jcolp@digium.com>
Sat, 5 Dec 2015 16:01:55 +0000 (12:01 -0400)
committerJoshua Colp <jcolp@digium.com>
Thu, 17 Dec 2015 18:59:12 +0000 (14:59 -0400)
commit59d5bb0613810418f2a618b9a6dee5bcfd45767e
treeb82020dd2aef7bed6fb44ad4626eb7f2002870c5
parent14b41115e363766633aec67f67e9764521b74f5c
res_sorcery_memory_cache: Add support for a full backend cache.

This change introduces the configuration option 'full_backend_cache'
which changes the cache to be a full mirror of the backend instead
of a per-object cache. This allows all sorcery retrieval operations
to be carried out against it and is useful for object types which
are used in a "retrieve all" or "retrieve some" pattern.

ASTERISK-25625 #close

Change-Id: Ie2993487e9c19de563413ad5561c7403b48caab5
CHANGES
main/sorcery.c
res/res_pjsip_endpoint_identifier_ip.c
res/res_sorcery_memory_cache.c