diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-10 15:11:01 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-10 15:11:01 +0000 |
commit | 973d5da714d7a1d6f6f96fa909dd4401d69502ac (patch) | |
tree | def8f3ce03252946a533f9d9d300746aa3d390a3 /configs | |
parent | 26f53afbb4d8d82403b0122bd01e5bad597c558d (diff) |
Merged revisions 245192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r245192 | mmichelson | 2010-02-06 08:43:03 -0600 (Sat, 06 Feb 2010) | 21 lines
Remove useless sip options related to hash table size.
First off, these options weren't actually doing anything.
By the time the options were parsed, the peer and dialog
containers had already been allocated with their default
values.
Second, hash table size is something that doesn't really
make sense to change in a config file. If a user is that
interested in changing the hashtable size, he can modify
the source itself.
I have removed the parsing of the hash_peer, hash_user,
and hash_dialog options. I have removed the hash_user_size
variable altogether since it is not used at all. I also
changed hash_peer_size and hash_dialog_size to be constant,
and have changed the symbols to be in all caps as constants
typically are. I have also removed the entire section in
sip.conf.sample regarding configurable hashtable sizes.
........
(merge to 1.6.2 inspired by issue #17553)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@275469 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sip.conf.sample | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 0ebca87fc..516ec7058 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -381,20 +381,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;session-minse=90 ;session-refresher=uas ; -;--------------------------- HASH TABLE SIZES ------------------------------------------------ -; For maximum efficiency, adjust the following -; values to be slightly larger than the maximum number of in-memory objects (devices). -; Too large, and space is wasted. Too small, and things will run slower. -; 563 is probably way too big for small (home) applications, but it -; should cover most small/medium sites. -; It is recommended to make the sizes be a prime number! -; This was internally set to 17 for small-memory applications... -; All tables default to 563, except when compiled in LOW_MEMORY mode, -; in which case, they default to 17. You can override this by uncommenting -; the following, and changing the values. -;hash_users=563 -;hash_peers=563 -;hash_dialogs=563 ;--------------------------- SIP DEBUGGING --------------------------------------------------- ;sipdebug = yes ; Turn on SIP debugging by default, from |