[mythtv-commits] Ticket #3279: Improve server reconnect/wakeup method
MythTV
mythtv at cvs.mythtv.org
Thu Apr 5 12:19:16 UTC 2007
#3279: Improve server reconnect/wakeup method
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium |
-----------------------+----------------------------------------------------
This patch improves the server reconnect attempt used in mythcontext.
A mythbusydialog is displayed while myth is trying to connect rather than
just appearing with a blank background and a log message (dialog is
disabled when a mythcontext server connection is made without a gui - eg.
with mythshutdown).
The reconnect algorithm is adjusted such that:[[BR]]
1. Wakeup command is executed.[[BR]]
2. Myth attempts to open a connection to the backend once every second
until the reconnect timeout occurs or a connection is established.[[BR]]
3. If the reconnect timeout is reached, the wakeup command will be issued
again (as before), unless the max number of attempts have been executed.
This is more efficient than before, where the reconnect attempt would not
retry until the next wake command is executed.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3279>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list