Merged revisions 97194 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 8 Jan 2008 20:56:38 +0000 (20:56 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 8 Jan 2008 20:56:38 +0000 (20:56 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97194 | tilghman | 2008-01-08 14:47:07 -0600 (Tue, 08 Jan 2008) | 3 lines

Increase constants to where we're less likely to hit them while debugging.
(Closes issue #11694)

........

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

main/autoservice.c
main/utils.c

index 02aa713..fcc4291 100644 (file)
@@ -43,7 +43,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 6920141..bf0a7b2 100644 (file)
@@ -510,7 +510,7 @@ static int dev_urandom_fd;
 #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