[mythtv-commits] Ticket #13649: Excessive calls to SELECT sourceid FROM capturecard WHERE cardid = ?
MythTV
noreply at mythtv.org
Thu Jul 23 09:42:57 UTC 2020
#13649: Excessive calls to SELECT sourceid FROM capturecard WHERE cardid = ?
----------------------------------+-------------------------------
Reporter: bib1963 | Owner: Klaas de Waal
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: 31.1
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-------------------------------
Changes (by Klaas de Waal <kdewaal@…>):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"f7a1f4b1a0204f624985d872395c7d689ca91da2/mythtv"
f7a1f4b1a/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="f7a1f4b1a0204f624985d872395c7d689ca91da2"
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.
Fixes #13649
(cherry picked from commit 7277ae9af33093bdf50b532888bd49b5a2d69bb0)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13649#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list