]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Increase constants to where we're less likely to hit them while debugging.
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 8 Jan 2008 20:47:07 +0000 (20:47 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 8 Jan 2008 20:47:07 +0000 (20:47 +0000)
(Closes issue #11694)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@97194 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/autoservice.c
main/utils.c

index fe4e2a70588354ddc8b3b465d551c811f35c3c00..140103dba0e42a48c878059b46a36f30edd144e2 100644 (file)
@@ -50,7 +50,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/lock.h"
 #include "asterisk/utils.h"
 
-#define MAX_AUTOMONS 256
+#define MAX_AUTOMONS 1500
 
 struct asent {
        struct ast_channel *chan;
index db08c03e5f9016e0c0e675ca5ee6f98ee20536a6..07669692fc058a8af838263025b9c5e4cde69708 100644 (file)
@@ -511,7 +511,7 @@ const char *ast_inet_ntoa(struct in_addr ia)
 #ifdef DEBUG_THREADS
 
 /*! \brief A reasonable maximum number of locks a thread would be holding ... */
-#define AST_MAX_LOCKS 32
+#define AST_MAX_LOCKS 64
 
 /* Allow direct use of pthread_mutex_t and friends */
 #undef pthread_mutex_t