milo: refresh interval

This commit is contained in:
kepler155c
2018-11-13 14:32:37 -05:00
parent 986fe160c7
commit 2af29c5d93
4 changed files with 32 additions and 6 deletions

View File

@@ -177,6 +177,7 @@ function Storage:listItems(throttle)
local timer = Timer()
for _, adapter in self:onlineAdapters() do
if adapter.dirty then
_G._debug('STORAGE: refreshing ' .. adapter.name)
adapter:listItems(throttle)
adapter.dirty = false
end