Skip to content

Commit 81ae0df

Browse files
committed
Fix bug where seconds were mistaken for milliseconds
1 parent a7a587f commit 81ae0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventSubscriber/DispatchSendPurchaseRequestSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function dispatch(ResourceControllerEvent $event): void
7575
(int) $order->getId(),
7676
$clientId
7777
),
78-
[new DelayStamp($this->delay)]
78+
[DelayStamp::delayFor(new \DateInterval(sprintf('PT%dS', $this->delay)))]
7979
));
8080
}
8181
}

0 commit comments

Comments
 (0)