Skip to content
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

Pending messages lost after worker restart #1

Open
msamsu opened this issue Sep 27, 2013 · 1 comment
Open

Pending messages lost after worker restart #1

msamsu opened this issue Sep 27, 2013 · 1 comment

Comments

@msamsu
Copy link

msamsu commented Sep 27, 2013

Hello, the pending (non-locked) messages are lost after worker restart. The solution is to resend the postgres notification after worker restart. I made a fork and uploaded these changes there.
More the message id is sent in payload of the notification so the message locking is more easy and atomic and so I removed the random choice of pending messages by plpgsql function. Feel free to merge it.

https://github.com/qdqmedia/trunk

Greetings, Martin

@cyberdelia
Copy link
Owner

Can I ask for a pull-request? Thanks.

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

No branches or pull requests

2 participants