Opened 19 years ago
Closed 18 years ago
#3279 closed patch (duplicate)
Improve server reconnect/wakeup method
| Reported by: | anonymous | Owned by: | Isaac Richards |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | wakeup reconnect connect timeout server context |
| Cc: | mythtv-dev@… | Ticket locked: | no |
Description
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:
- Wakeup command is executed.
- Myth attempts to open a connection to the backend once every second until the reconnect timeout occurs or a connection is established.
- 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.
Attachments (2)
Change History (4)
by , 19 years ago
| Attachment: | backend_connect.diff added |
|---|
by , 18 years ago
| Attachment: | backend-reconnect-180707.diff added |
|---|
updated patch for server reconnect
Note:
See TracTickets
for help on using tickets.

Mythcontext server reconnect improvements