From f48ed5a943a39bb9d5e0c32363a4ded666d7bc3a Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 8 Jan 2008 20:56:38 +0000 Subject: Merged revisions 97194 via svnmerge from 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 | 2 +- main/utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'main') diff --git a/main/autoservice.c b/main/autoservice.c index 02aa713a4..fcc42911f 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -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; diff --git a/main/utils.c b/main/utils.c index 6920141b0..bf0a7b2ad 100644 --- a/main/utils.c +++ b/main/utils.c @@ -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 -- cgit v1.2.3