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

This commit is contained in:
Brian C. Lane 2015-01-13 16:45:53 -08:00
parent a19c509430
commit cd7adac241

View File

@ -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