]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_sorcery_memory_cache: Implement expire_on_reload option. 32/832/1
authorJoshua Colp <jcolp@digium.com>
Thu, 4 Jun 2015 18:11:44 +0000 (15:11 -0300)
committerMark Michelson <mmichelson@digium.com>
Wed, 8 Jul 2015 19:34:58 +0000 (14:34 -0500)
commit8575c4f18dd4cd05044a15b4b9a885984ad9c5ee
tree1ebf9373feaa9c7c9eb7845bea04a699281a9a9c
parentda52527136446343caaa7b499a8b62ce49d0c0c9
res_sorcery_memory_cache: Implement expire_on_reload option.

This change implements the expire_on_reload option for memory caches.
If enabled and a reload is performed all objects within the cache
will be expired and the cache emptied.

ASTERISK-25067
Reported by: Matt Jordan

Change-Id: Id46aa1957d660556700e689e195eed57c989b85e
res/res_sorcery_memory_cache.c