From a25bb3fddd6f5c813c6bf9038ec6502bcc7ecf5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Fri, 25 Oct 2024 14:58:44 +0200 Subject: [PATCH] Replace deprecated `::sleep(Number)` (#652) --- src/molinillo_solver.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/molinillo_solver.cr b/src/molinillo_solver.cr index 4ced81f0..9c2fffdd 100644 --- a/src/molinillo_solver.cr +++ b/src/molinillo_solver.cr @@ -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