fix: parallel fix 2 (#47)

This commit was merged in pull request #47.
This commit is contained in:
Drew Lemmy
2020-09-29 22:18:57 +01:00
committed by GitHub
parent 13601c97a9
commit 5e275e36ad

View File

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