Opened 17 years ago

Closed 17 years ago

#3830 closed patch (fixed)

PATCH: mythlcdserver will excessively query backend

Reported by: anonymous Owned by: paulh
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In working on #3720 I noticed that the mythlcdserver will spam the backend for tuner check requests when it receives multiple messages within a short window. The attached patch will prevent this, and only query the backend once per 500 ms to check the tuner status. It is unlikely that the world will have changed since it takes longer than that to scroll multiple tuners anyways.

Attachments (1)

mythlcdserver.patch (1.7 KB) - added by anonymous 17 years ago.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by anonymous

Attachment: mythlcdserver.patch added

comment:1 Changed 17 years ago by paulh

Milestone: unknown0.21
Owner: changed from Isaac Richards to paulh
Version: unknownhead

comment:2 Changed 17 years ago by paulh

Resolution: fixed
Status: newclosed

(In [14218]) Limit mythlcdserver to updating its recording list once every 500ms in the case where it receives many "RECORDING_LIST_CHANGE" events from the master backend in quick succession.

Closes #3830.

Note: See TracTickets for help on using tickets.