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

Infinite polling #37

Open
caesterlein opened this issue Feb 4, 2021 · 0 comments
Open

Infinite polling #37

caesterlein opened this issue Feb 4, 2021 · 0 comments

Comments

@caesterlein
Copy link
Contributor

We need a feature that allows a use to poll for messages indefinitely.

Let's set max_polls to a default -1 to signal infinite looping. Then the user can override that if they want to poll a specific number of times.

https://github.com/cedardevs/onestop-clients/blob/master/onestop-python-client/onestop/util/SqsConsumer.py#L32

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

1 participant