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

Allow to set a cache option when polling for an abortion request #1083

Open
medihack opened this issue Jun 24, 2024 · 0 comments
Open

Allow to set a cache option when polling for an abortion request #1083

medihack opened this issue Jun 24, 2024 · 0 comments
Labels
Issue appropriate for: newcomers 🤩 This issue can be safely tackled by people who never worked in this project before Issue contains: Some documentation 📚 This issues involves writing some documentation Issue contains: Some Python 🐍 This issue involves writing some Python code Issue type: Feature ⭐️ Add a new feature that didn't exist before

Comments

@medihack
Copy link
Member

It might be easier for users if we implemented say def should_abort(cache=10) that would cache the answer for 10 seconds. This way, one may call the method as often as they wish. The default time could be a worker param.

Originally posted by @ewjoachim in #1081 (comment)

@ewjoachim ewjoachim added Issue appropriate for: newcomers 🤩 This issue can be safely tackled by people who never worked in this project before Issue type: Feature ⭐️ Add a new feature that didn't exist before Issue contains: Some Python 🐍 This issue involves writing some Python code Issue contains: Some documentation 📚 This issues involves writing some documentation labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue appropriate for: newcomers 🤩 This issue can be safely tackled by people who never worked in this project before Issue contains: Some documentation 📚 This issues involves writing some documentation Issue contains: Some Python 🐍 This issue involves writing some Python code Issue type: Feature ⭐️ Add a new feature that didn't exist before
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants