[asterisk-commits] tilghman: branch 1.4 r97194 - in /branches/1.4/main: autoservice.c utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 8 14:47:08 CST 2008


Author: tilghman
Date: Tue Jan  8 14:47:07 2008
New Revision: 97194

URL: http://svn.digium.com/view/asterisk?view=rev&rev=97194
Log:
Increase constants to where we're less likely to hit them while debugging.
(Closes issue #11694)

Modified:
    branches/1.4/main/autoservice.c
    branches/1.4/main/utils.c

Modified: branches/1.4/main/autoservice.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/autoservice.c?view=diff&rev=97194&r1=97193&r2=97194
==============================================================================
--- branches/1.4/main/autoservice.c (original)
+++ branches/1.4/main/autoservice.c Tue Jan  8 14:47:07 2008
@@ -50,7 +50,7 @@
 #include "asterisk/lock.h"
 #include "asterisk/utils.h"
 
-#define MAX_AUTOMONS 256
+#define MAX_AUTOMONS 1500
 
 struct asent {
 	struct ast_channel *chan;

Modified: branches/1.4/main/utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/utils.c?view=diff&rev=97194&r1=97193&r2=97194
==============================================================================
--- branches/1.4/main/utils.c (original)
+++ branches/1.4/main/utils.c Tue Jan  8 14:47:07 2008
@@ -511,7 +511,7 @@
 #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




More information about the asterisk-commits mailing list