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

Vratislav Podzimek vpodzime at redhat.com
Wed Jan 14 07:01:48 UTC 2015


On Tue, 2015-01-13 at 17:27 -0800, Brian C. Lane wrote:
> ---
>  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
The comment probably deserves to specify the unit (seconds, I guess?).
ACK otherwise.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list