summaryrefslogtreecommitdiff
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-03-18 18:18:43 +0000
committerRussell Bryant <russell@russellbryant.com>2010-03-18 18:18:43 +0000
commitd6ca5ac86e7479424783a486daf5ff22aadd3f7b (patch)
tree005ed5f1427ca8d95ea2ec4d5ae03d11fc88f661 /main/asterisk.c
parent4e53643fd4a0a5f1ffe9dd5f5a244dd89110aa5b (diff)
Increase CLI command output timeout for asterisk -rx to 60 seconds.
(closes issue #17049) Reported by: russell Tested by: russell Review: https://reviewboard.asterisk.org/r/573/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 532bbc709..96b63c8ba 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2656,7 +2656,7 @@ static void ast_remotecontrol(char *data)
fds.fd = ast_consock;
fds.events = POLLIN;
fds.revents = 0;
- while (ast_poll(&fds, 1, 500) > 0) {
+ while (ast_poll(&fds, 1, 60000) > 0) {
char buffer[512] = "", *curline = buffer, *nextline;
int not_written = 1;