]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod: Don't compute stat info unnecessarily.
authorAndre Noll <maan@systemlinux.org>
Mon, 9 Sep 2013 21:20:31 +0000 (21:20 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 22 Sep 2013 00:29:19 +0000 (02:29 +0200)
Currently we compute this information in each scheduler iteration
and check whether it has changed since the last time we sent it to
the stat clients.

This is quite expensive, so this patch teaches para_audiod to only look
at the status items if the last write time was more than 500ms ago.


No differences found