Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 24, 2024
1 parent c855341 commit 583e126
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ function _fetch_packages(packages_fetch, installdeps)
-- fetch a new package
local instance = nil
while instance == nil and #packages_pending > 0 do
print("")
for idx, pkg in ipairs(packages_pending) do

-- all dependences has been fetched? we fetch it now
Expand Down Expand Up @@ -307,6 +308,10 @@ function _fetch_packages(packages_fetch, installdeps)
end
end
if instance == nil and #packages_pending > 0 then
print("no ready packages, pending: %s", #packages_pending)
for _, p in ipairs(packages_pending) do
print(" %s", p:name())
end
os.sleep(100)
end
end
Expand All @@ -321,6 +326,7 @@ function _fetch_packages(packages_fetch, installdeps)
end
if not parallelize then
while fetching_count > 0 do
print("1111")
os.sleep(100)
end
end
Expand Down

0 comments on commit 583e126

Please sign in to comment.