[PATCH] livemedia-creator: add a timeout to the log monitor startup

Brian C. Lane bcl at redhat.com
Wed Jan 14 01:27:54 UTC 2015


---
 src/sbin/livemedia-creator | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator
index a328623..2c92ba2 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"""
+
+    # Time to wait for a request after startup
+    timeout = 60
+
     def __init__(self, log_path, *args, **kwargs):
         """
         Setup the log server
-- 
1.9.3



More information about the anaconda-patches mailing list