From 1869171b1989729292145393e5d5404ac4a606d7 Mon Sep 17 00:00:00 2001 From: Chris Keller Date: Thu, 8 May 2025 16:53:47 +0100 Subject: [PATCH] feat/queue-sleep-option-config-type-hint-update | update sleep type hint to allow float values --- src/DTOs/QueueConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DTOs/QueueConfig.php b/src/DTOs/QueueConfig.php index df04d0c..29308a0 100644 --- a/src/DTOs/QueueConfig.php +++ b/src/DTOs/QueueConfig.php @@ -12,7 +12,7 @@ public function __construct( public readonly array $queuesToConsume, public readonly int $memoryLimit, public readonly int $timeout, - public readonly int $sleep, + public readonly int|float $sleep, ) {} /**