From 90de85abc4a216db3812634a2712f6d30b3711e1 Mon Sep 17 00:00:00 2001 From: Drew Lemmy Date: Tue, 29 Sep 2020 22:14:55 +0100 Subject: [PATCH] fix: parallel fix 2 --- milo/apis/storage.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/milo/apis/storage.lua b/milo/apis/storage.lua index fb086ea..2cdbc3d 100644 --- a/milo/apis/storage.lua +++ b/milo/apis/storage.lua @@ -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 -- 2.49.1