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

rollback? #55

Closed
cinterloper opened this issue Jun 28, 2018 · 2 comments
Closed

rollback? #55

cinterloper opened this issue Jun 28, 2018 · 2 comments

Comments

@cinterloper
Copy link

cinterloper commented Jun 28, 2018

is there an opposite of task_done() where a commit can be aborted?

alternatively, is there a peek() function that will get the next value but not remove it from the queue?
my use case is moving a piece of data to another system, where i only want to remove it from the queue if its successfully persisted to the next stage of processing.

@peter-wangxu
Copy link
Owner

Please consider the SQLiteAckQueue

@cinterloper
Copy link
Author

Thanks for pointing that out

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