fix: parallel fix 2

This commit is contained in:
Drew Lemmy
2020-09-29 22:14:55 +01:00
committed by GitHub
parent 13601c97a9
commit 90de85abc4

View File

@@ -277,6 +277,10 @@ function Storage:listItems(throttle)
chunk = {}
end
end
if #chunk > 0 then
parallel.waitForAll(table.unpack(chunk))
end
end
for _, adapter in self:onlineAdapters() do