[Asterisk-code-review] res sorcery memory cache: Add support for refreshing stale o... (asterisk[master])

Joshua Colp asteriskteam at digium.com
Wed May 27 17:10:05 CDT 2015


Joshua Colp has posted comments on this change.

Change subject: res_sorcery_memory_cache: Add support for refreshing stale objects.
......................................................................


Patch Set 5:

(1 comment)

https://gerrit.asterisk.org/#/c/540/5/res/res_sorcery_memory_cache.c
File res/res_sorcery_memory_cache.c:

Line 661: 	if (is_stale_update()) {
        : 		return NULL;
        : 	}
> Shouldn't stale objects be retrievable even while an update for the stale o
They are, however the thread performing the update has to skip the cache.


-- 
To view, visit https://gerrit.asterisk.org/540
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I9bd7c049adf6939bfe2899f393c2bfbbf412d217
Gerrit-PatchSet: 5
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list