Merged revisions 110395 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 20 Mar 2008 23:14:13 +0000 (23:14 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 20 Mar 2008 23:14:13 +0000 (23:14 +0000)
commit6430ec3294fc3e8a0b5ce4ccfd41be411df2b354
treed52c34719081fe4e6facae45b641d528d6aca723
parentf31cc97197b4f6e5f1ce1cd557875f0a61937005
Merged revisions 110395 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r110395 | russell | 2008-03-20 18:13:56 -0500 (Thu, 20 Mar 2008) | 9 lines

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: https://origsvn.digium.com/svn/asterisk/trunk@110396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/autoservice.c