Skip to content

Commit

Permalink
Replace deprecated ::sleep(Number) (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Oct 25, 2024
1 parent 0bbeef2 commit a25bb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/molinillo_solver.cr
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module Shards
count += 1
active.add(1)
while active.get > Shards.jobs
sleep 0.1
sleep 0.1.seconds
end
spawn do
begin
Expand Down

0 comments on commit a25bb3f

Please sign in to comment.