src/virt.c: Decouple persistent notifications from refreshInterval
authorAntoine Naud <antoinex.naud@intel.com>
Wed, 21 Mar 2018 08:51:42 +0000 (08:51 +0000)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Thu, 19 Apr 2018 12:03:40 +0000 (13:03 +0100)
commitcf86f1d597d0f3b6646241dc784ec6b89edd6bff
treeabb5a3b2b4e5175e3fcc1d417fdb6b91aebcd8a6
parent1c3f49f2b79d90444615d516420ae1bc506472c9
src/virt.c: Decouple persistent notifications from refreshInterval

When persistentNotification is true, if refreshInterval value is larger than
(read) Interval, the notifications are not issued every read interval as should
be. The fix consist in decoupling persistent notifications from refreshInterval.

Change-Id: I157554a360510c21ffa631430446afd57b99dfab
Signed-off-by: Antoine Naud <antoinex.naud@intel.com>
src/virt.c