Skip to content

Commit 584033d

Browse files
authored
feat/queue-sleep-option-config-type-hint-update | update sleep type hint to allow float values (#583)
1 parent 9175e46 commit 584033d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DTOs/QueueConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function __construct(
1212
public readonly array $queuesToConsume,
1313
public readonly int $memoryLimit,
1414
public readonly int $timeout,
15-
public readonly int $sleep,
15+
public readonly int|float $sleep,
1616
) {}
1717

1818
/**

0 commit comments

Comments
 (0)