[mythtv-commits] mythtv/master commit: ff304fa9d by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Wed Jul 20 07:56:40 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-07-20T00:49:00-07:00
Push Date: 2011/07/20 00:56:33 -0700
Repository: mythtv
Branch: master
New Revision: ff304fa9d13bc74d9a951d832e7108080545346c
Changeset: https://github.com/MythTV/mythtv/commit/ff304fa9d
Log:
Added support for max queue length for db logging
It the DB should not be available, we requeue the logging messages that were
to be sent to it. Rather than queue without bound should the DB take a
vacation, we will now only queue up to 1000 messages, and then will disable
queuing until such a time that the DB is once again available.
Also, rearranged when log items are deleted from memory, possibly thwarting
a memory leak.
Modified:
mythtv/libs/libmythbase/mythlogging.cpp
mythtv/libs/libmythbase/mythlogging.h
More information about the mythtv-commits
mailing list