You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that it is not possible to dispatch jobs with milliseconds delay into the queue. It is actually not directly related to Carbon nor Laravel Dispatchables. It is a limitation of database driver, since unix timestamp values are inserted into available_at column, it cannot differentiate in the scale of milliseconds.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I just noticed that it is not possible to dispatch jobs with milliseconds delay into the queue. It is actually not directly related to Carbon nor Laravel Dispatchables. It is a limitation of database driver, since unix timestamp values are inserted into available_at column, it cannot differentiate in the scale of milliseconds.
Is there a workaround for it ?
Env:
Thank you
Related SO post
Beta Was this translation helpful? Give feedback.
All reactions