Skip to content

execute_batch, start_and_wait: generic "retry later" functionality #440

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

Open
soxofaan opened this issue Jun 14, 2023 · 0 comments
Open

execute_batch, start_and_wait: generic "retry later" functionality #440

soxofaan opened this issue Jun 14, 2023 · 0 comments

Comments

@soxofaan
Copy link
Member

execute_batch/start_and_wait now ignores a small subset of errors that could occur:

except requests.ConnectionError as e:
soft_error("Connection error while polling job status: {e}".format(e=e))
continue
except OpenEoApiError as e:
if e.http_status_code in [502, 503]:
soft_error("Service availability error while polling job status: {e}".format(e=e))
continue

We might want increase the scope of this soft errors functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant