This commit is contained in:
kepler155c@gmail.com
2019-02-13 20:49:58 -05:00
parent f30b1b19f9
commit eee431ce26

View File

@@ -11,7 +11,7 @@ function RefreshTask:cycle(context)
for node, adapter in context.storage:onlineAdapters() do
if node.refreshInterval then
if not adapter.lastRefresh or adapter.lastRefresh + node.refreshInterval < now then
_G._debug('REFRESHER: ' .. node.displayName or node.name)
_G._debug('REFRESHER: ' .. (node.displayName or node.name))
context.storage.dirty = true
adapter.dirty = true
adapter.lastRefresh = now