Shorten the ast_waitfor() timeout from 500 ms to 50 ms in the autoservice thread.
commitfbabfeb6857c76985cd6f3169ae5f251345b60b9
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 20 Mar 2008 23:13:56 +0000 (20 23:13 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 20 Mar 2008 23:13:56 +0000 (20 23:13 +0000)
tree433051e039d8ad6750c25b8af267ee146a86e6c9
parent5b19e3134b52f42f6e0ee087905d3830d49a4a5f
Shorten the ast_waitfor() timeout from 500 ms to 50 ms in the autoservice thread.
This really should not make a difference except in very rare cases.  That case would
be that all of the channels in autoservice are not generating any frames.  In that
case, this change reduces the potential amount of time that a thread waits in
ast_autoservice_stop() for the autoservice thread to wrap back around to the beginning
of its loop.

(closes issue #12266, reported by dimas)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@110395 614ede4d-c843-0410-af14-a771ab80d22e
main/autoservice.c