allow peers and users to go into a hash table

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-08-22 21:35:08 +00:00
parent eb6813cce3
commit f6f9c14723

View File

@@ -666,11 +666,9 @@ static AST_LIST_HEAD_STATIC(frame_queue, iax_frame);
* containers is considered random, so you will not be able to depend on
* the order the entires are specified in iax.conf for matching order. */
#ifdef LOW_MEMORY
#define MAX_PEER_BUCKETS 1
/* #define MAX_PEER_BUCKETS 17 */
#define MAX_PEER_BUCKETS 17
#else
#define MAX_PEER_BUCKETS 1
/* #define MAX_PEER_BUCKETS 563 */
#define MAX_PEER_BUCKETS 563
#endif
static ao2_container *peers;