-
Notifications
You must be signed in to change notification settings - Fork 437
Fix #1257 #1258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1257 #1258
Conversation
|
I am not sure I follow it. Can you please walk me through your thought process? |
The issue here is that without multiplication - that you're removing - precision of stored data suffers. Messages become stored with at most 1 second precision, which makes it impossible to maintain their order & I think the issue you're describing is actually valid, but not because of the code. It's because we've called this property "timestamp" while we intended to store a more precise value. a.k.a. naming is hard 😅 EDIT: Actually, where did you find that this value is supposed to be a timestamp? The class that this code is contained with specificly uses |
|
@Steveb-p Sorry it's my mistake. The property published_at suggests that it will be the date, but since you operate everywhere on timestamps, I assumed that in this case also to be able to get a specific date from it. But I already understand that this is not the point, but then there is some inconsistency because other values do not operate in such precision. Closing |
If you find any discrepancy in this or other transports feel free to open an issue or discussion (which, btw, could be enabled @makasim, so issues don't get polluted by questions). I would not outright dismiss the notion that there might be differences 😅 |
|
@Steveb-p Enabled discussions https://github.com/php-enqueue/enqueue-dev/discussions |
|
@Steveb-p I meant redeliverAfter or timeToLive properties, that's why I pointed it out and assumed it was an issue :) |
No description provided.