[mythtv-commits] [MythTV/mythtv] f7a1f4: Create key for DVB channel master lock only once
kmdewaal
noreply at github.com
Tue Jul 21 19:48:55 UTC 2020
Branch: refs/heads/fixes/31
Home: https://github.com/MythTV/mythtv
Commit: f7a1f4b1a0204f624985d872395c7d689ca91da2
https://github.com/MythTV/mythtv/commit/f7a1f4b1a0204f624985d872395c7d689ca91da2
Author: Klaas de Waal <kdewaal at mythtv.org>
Date: 2020-07-21 (Tue, 21 Jul 2020)
Changed paths:
M mythtv/libs/libmythtv/recorders/dvbchannel.cpp
M mythtv/libs/libmythtv/recorders/dvbchannel.h
Log Message:
-----------
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>
More information about the mythtv-commits
mailing list