res_sorcery_memory_cache: Add test event when a refresh occurs.
authorJoshua Colp <jcolp@digium.com>
Thu, 4 Jun 2015 10:33:30 +0000 (07:33 -0300)
committerJoshua Colp <jcolp@digium.com>
Thu, 4 Jun 2015 10:33:30 +0000 (07:33 -0300)
commit19de2bbc5fc8369b8ef4ec9531612bb72b495848
tree4ee2dd091435a35c6293868cd36a3ef812bb4ce0
parentd355ee7ff3cfe1737d80da874ea93eee340cdf6f
res_sorcery_memory_cache: Add test event when a refresh occurs.

This change adds a testsuite event for when a refresh occurs.
This is useful as it provides a guaranteed mechanism of knowing when
it has occurred instead of waiting an arbitrary amount of time.

ASTERISK-25067
Reported by: Matt Jordan

Change-Id: Iaa6b8d2d6bab7f99ee08e1c8908b8272a8987e65
res/res_sorcery_memory_cache.c