Skip to content

Commit

Permalink
Fix bug where seconds were mistaken for milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Aug 18, 2023
1 parent a7a587f commit 81ae0df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function dispatch(ResourceControllerEvent $event): void
(int) $order->getId(),
$clientId
),
[new DelayStamp($this->delay)]
[DelayStamp::delayFor(new \DateInterval(sprintf('PT%dS', $this->delay)))]
));
}
}

0 comments on commit 81ae0df

Please sign in to comment.