From cd7adac241c3b49f371bfc3038aa35935fe75a7d Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 13 Jan 2015 16:45:53 -0800 Subject: [PATCH] livemedia-creator: add a timeout to the log monitor startup --- src/sbin/livemedia-creator | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index a3286233..d8ee2754 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -167,6 +167,10 @@ class LogRequestHandler(SocketServer.BaseRequestHandler): class LogServer(SocketServer.TCPServer): """A TCP Server that listens for log data""" + + # Number of seconds to wait for a connection after startup + timeout = 60 + def __init__(self, log_path, *args, **kwargs): """ Setup the log server