[Asterisk-code-review] res sorcery memory cache: Add support for maximum objects. (asterisk[master])

Joshua Colp asteriskteam at digium.com
Wed May 20 16:15:07 CDT 2015


Joshua Colp has posted comments on this change.

Change subject: res_sorcery_memory_cache: Add support for maximum_objects.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/498/1/res/res_sorcery_memory_cache.c
File res/res_sorcery_memory_cache.c:

Line 485: 	if (cache->maximum_objects && ao2_container_count(cache->objects) >= cache->maximum_objects) {
Should it actually be possible for the objects container to exceed the maximum object count?


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

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



More information about the asterisk-code-review mailing list