[mythtv] [PATCH] Add single retry of connection to master backend

Allan Stirling Dibblahmythml0015 at pendor.org
Wed Jun 15 14:53:41 UTC 2005

Allan Stirling wrote:
> If the master backend is restarted, the frontend presents an error ("The 
> connection to the master backend server has gone away for some 
> reason..") to the user. This is probably unnecessary, since a retry will 
> fix the situation.
> The only reason I see not to change this code is so the end-user is 
> notified when the backend is restarted. However, in a non-development 
> environment (where WAF is concerned),  the dialog doesn't exactly add 
> value.
> The attached patch adds a single retry of the connection. It also cleans 
> up the function somewhat - The "// this should be obsolete..." section 
> has been around since December 2003.
> I don't see the associated cerr in any of my logs. If this is incorrect, 
> I'll resubmit the patch with just the functional changes.
> Cheers,
> Allan.
Is this just a bad idea? Badly implemented?



More information about the mythtv-dev mailing list