[mythtv-commits] mythtv/master commit: 1721fdfa0 by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Mon Jan 2 01:58:29 UTC 2012
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2012-01-01T17:57:32-08:00
Push Date: 2012/01/01 17:58:18 -0800
Repository: mythtv
Branch: master
New Revision: 1721fdfa0de6d78a4a313000ac708c7ee584998d
Changeset: https://github.com/MythTV/mythtv/commit/1721fdfa0
Log:
Change media monitoring interval from 500ms to 5s
It seems excessive to hit the CDROM drive every 500ms to see if media is
there or not. Every 5s should do fine. (Also moved the interval to a
macro (#define MONITOR_INTERVAL) to make it more maintainable).
Ideally, we should try to use dbus for this if possible (where supported)
and not poll at all.
Modified:
mythtv/libs/libmyth/mythmediamonitor.cpp
More information about the mythtv-commits
mailing list