increase queue length of chanspy queue
authorAnthony Minessale II <anthmct@yahoo.com>
Wed, 30 Mar 2005 22:09:01 +0000 (22:09 +0000)
committerAnthony Minessale II <anthmct@yahoo.com>
Wed, 30 Mar 2005 22:09:01 +0000 (22:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5310 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 8394b80..44c12b8 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -731,7 +731,7 @@ static void ast_queue_spy_frame(struct ast_channel_spy *spy, struct ast_frame *f
        for (tmpf=spy->queue[pos]; tmpf && tmpf->next; tmpf=tmpf->next) {
                count++;
        }
-       if (count > 100) {
+       if (count > 1000) {
                struct ast_frame *freef, *headf;
 
                ast_log(LOG_ERROR, "Too Many frames queued at once, flushing cache.\n");