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
Hi there, first time here so I hope this is the right place to bring this to the table.
First off; using Laravel 8.68.x
While implementing the uniqueFor feature in a job, for which documentation states "To accomplish this, you may define uniqueId and uniqueFor properties or methods on your job class..." I found that actually uniqueFor can only be a property as per the piece of code that acquires the lock at Illuminate\Bus\UniqueLock::acquire
So I guess either correct the documentation or better actually implement the feature which seems to be kind of low hanging fruit.
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 there, first time here so I hope this is the right place to bring this to the table.
First off; using Laravel 8.68.x
While implementing the uniqueFor feature in a job, for which documentation states "To accomplish this, you may define uniqueId and uniqueFor properties or methods on your job class..." I found that actually uniqueFor can only be a property as per the piece of code that acquires the lock at Illuminate\Bus\UniqueLock::acquire
So I guess either correct the documentation or better actually implement the feature which seems to be kind of low hanging fruit.
Regards,
Gonzalo.
Beta Was this translation helpful? Give feedback.
All reactions