[Asterisk-code-review] datastore: Add common container based datastores API. (asterisk[master])
Kevin Harwell
asteriskteam at digium.com
Mon May 9 15:34:31 CDT 2016
Kevin Harwell has posted comments on this change.
Change subject: datastore: Add common container based datastores API.
......................................................................
Patch Set 2:
(1 comment)
https://gerrit.asterisk.org/#/c/2777/2/include/asterisk/datastore.h
File include/asterisk/datastore.h:
Line 102: struct ao2_container *ast_datastores_alloc(void);
Instead of hard coding the number of buckets to always be the same value for any datastore you think passing it into the alloc function would make sense? That way each module could specify the number of buckets it felt appropriate.
--
To view, visit https://gerrit.asterisk.org/2777
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I72eb15941dcdbc2a37bb00a33ce00f8755bd336a
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-HasComments: Yes
More information about the asterisk-code-review
mailing list