[mythtv-firehose] mythtv/master commit: 394c2e82c by Daniel Kristjansson (daniel-kristjansson)

MythTV noreply at mythtv.org
Mon Aug 15 20:36:03 UTC 2011

      Author:  Daniel Kristjansson <danielk at cuymedia.net>
 Change Date:  2011-08-15T13:33:27-07:00
   Push Date:  2011/08/15 13:35:54 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  394c2e82c8723605d939b02a789f068aa8c62d44
   Changeset:  https://github.com/MythTV/mythtv/commit/394c2e82c


Refs #9682. This creates a runnable that updates the free space list on the master backend.

The problem with the existing code is that if any mount goes dead each frontend causes one more worker thread to queue up every 15 seconds. If you have 3 frontends 720 threads are started every hour the mount is down. This instead uses one runnable to update the total disk space every 15 seconds for use by all the frontends. If no frontend requests an updated disk space calculation for one minute the runnable shuts down.



More information about the mythtv-firehose mailing list