[mythtv-commits] Ticket #13649: Excessive calls to SELECT sourceid FROM capturecard WHERE cardid = ?
MythTV
noreply at mythtv.org
Thu Jul 16 19:30:43 UTC 2020
#13649: Excessive calls to SELECT sourceid FROM capturecard WHERE cardid = ?
----------------------------------+-------------------------------
Reporter: bib1963 | Owner: Klaas de Waal
Type: Bug Report - General | Status: accepted
Priority: minor | Milestone: 31.1
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-------------------------------
Comment (by Klaas de Waal <kdewaal@…>):
In [changeset:"7277ae9af33093bdf50b532888bd49b5a2d69bb0/mythtv"
7277ae9af/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="7277ae9af33093bdf50b532888bd49b5a2d69bb0"
Create key for DVB channel master lock only once
Create master key only once and use that each time the lock is requested
instead of creating the key every time again. This solves the problem that
the database is accessed 40 times per second for the source ID of a
capture card for each capture card while monitoring the signal status.
Refs #13649
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13649#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list