Skip to content

Commit c18d868

Browse files
committed
Change Release Time Unit To Second
1 parent 5eb6787 commit c18d868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Job.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function release($delay = 0)
7171
$producer = $this->psrContext->createProducer();
7272

7373
if ($producer instanceof DelayStrategyAware && $producer->delayable()) {
74-
$producer->setDeliveryDelay($this->secondsUntil($delay));
74+
$producer->setDeliveryDelay($this->secondsUntil($delay) * 1000);
7575
}
7676

7777
$this->psrConsumer->acknowledge($this->psrMessage);

0 commit comments

Comments
 (0)