mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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:
@@ -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
|
* 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. */
|
* the order the entires are specified in iax.conf for matching order. */
|
||||||
#ifdef LOW_MEMORY
|
#ifdef LOW_MEMORY
|
||||||
#define MAX_PEER_BUCKETS 1
|
#define MAX_PEER_BUCKETS 17
|
||||||
/* #define MAX_PEER_BUCKETS 17 */
|
|
||||||
#else
|
#else
|
||||||
#define MAX_PEER_BUCKETS 1
|
#define MAX_PEER_BUCKETS 563
|
||||||
/* #define MAX_PEER_BUCKETS 563 */
|
|
||||||
#endif
|
#endif
|
||||||
static ao2_container *peers;
|
static ao2_container *peers;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user