livemedia-creator: add a timeout to the log monitor startup
This commit is contained in:
parent
a19c509430
commit
cd7adac241
@ -167,6 +167,10 @@ class LogRequestHandler(SocketServer.BaseRequestHandler):
|
|||||||
|
|
||||||
class LogServer(SocketServer.TCPServer):
|
class LogServer(SocketServer.TCPServer):
|
||||||
"""A TCP Server that listens for log data"""
|
"""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):
|
def __init__(self, log_path, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Setup the log server
|
Setup the log server
|
||||||
|
Loading…
Reference in New Issue
Block a user