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

Return job_ttl with jobpop #394

Open
tazlin opened this issue Mar 18, 2024 · 0 comments
Open

Return job_ttl with jobpop #394

tazlin opened this issue Mar 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tazlin
Copy link
Member

tazlin commented Mar 18, 2024

Returning this field can help worker client software make better decisions in certain situations. In the event of an unhandled worker fault and the worker is trying to recover, knowing if there is enough time to submit by the timeout will allow the worker to give up sooner (submitting the job as faulted) instead of attempting to regenerate the image where there is not enough time.

It is worth noting that this field has never been a secret. However, by explicitly returning it and highlighting its existence, there is a possibility that certain types of bad actors could exploit this information to deliberately deteriorate the service.

@tazlin tazlin added the enhancement New feature or request label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant