[mythtv-commits] mythtv/master commit: 3d170bf8b by Daniel Thor Kristjansson (daniel-kristjansson)

MythTV noreply at mythtv.org
Wed Jan 11 16:21:25 UTC 2012


      Author:  Daniel Thor Kristjansson <danielk at cuymedia.net>
 Change Date:  2012-01-11T08:05:22-08:00
   Push Date:  2012/01/11 08:21:10 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  3d170bf8b92087d74cbe1a5a3b7bb2bb9bb140e8
   Changeset:  https://github.com/MythTV/mythtv/commit/3d170bf8b

Log:

Avoid high CPU usage in DB logger when DB is unavailable at startup.

Commit [aab13b3] fixed a logic typo in the loop exit clause, but did not make a symetric change in the sleep
clause, so we sometimes enter a condition where the we were consuming 100% CPU waiting for the DB.

Modified:

   mythtv/libs/libmythbase/logging.cpp
   mythtv/libs/libmythbase/logging.h



More information about the mythtv-commits mailing list