Skip to content

update MongoQueue.php #769

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

Merged
merged 1 commit into from
Mar 4, 2016
Merged

update MongoQueue.php #769

merged 1 commit into from
Mar 4, 2016

Conversation

giolvani
Copy link
Contributor

@giolvani giolvani commented Mar 4, 2016

Some fixes to delete successfully processed jobs on queues.

Some fixes to delete successfully processed jobs on queues.
@giolvani
Copy link
Contributor Author

giolvani commented Mar 4, 2016

I replaced some methods because the base methos doesn't work with mongodb, perhaps because the primary key is _id and not id

I overwrite the methods markJobAsReserved() and deleteReserved() and copied releaseJob() from @Bodom78 implementation.

jenssegers added a commit that referenced this pull request Mar 4, 2016
@jenssegers jenssegers merged commit e1c12ac into mongodb:master Mar 4, 2016
@davidchchang
Copy link

Thanks @giolvani!
@jenssegers: can this fix be merged to 2.3 and the other branches as well?

@giolvani
Copy link
Contributor Author

giolvani commented Mar 4, 2016

Your welcome guys!

jenssegers added a commit that referenced this pull request Mar 5, 2016
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants