[mythtv-commits] [MythTV/mythtv] 7277ae: Create key for DVB channel master lock only once

kmdewaal noreply at github.com
Thu Jul 16 19:30:49 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 7277ae9af33093bdf50b532888bd49b5a2d69bb0
      https://github.com/MythTV/mythtv/commit/7277ae9af33093bdf50b532888bd49b5a2d69bb0
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-07-16 (Thu, 16 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.

Refs #13649




More information about the mythtv-commits mailing list