From: Tilghman Lesher Date: Tue, 8 Jan 2008 20:47:07 +0000 (+0000) Subject: Increase constants to where we're less likely to hit them while debugging. X-Git-Tag: 1.4.18~12^2~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3acbb032f83fd501e2dbd28e0ee57602210e2c61;p=thirdparty%2Fasterisk.git 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/branches/1.4@97194 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/autoservice.c b/main/autoservice.c index fe4e2a7058..140103dba0 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -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; diff --git a/main/utils.c b/main/utils.c index db08c03e5f..07669692fc 100644 --- a/main/utils.c +++ b/main/utils.c @@ -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