Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add retry policy for create custom job #192

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

baxen
Copy link
Contributor

@baxen baxen commented Jun 21, 2023

Vertex has a few transient errors when starting custom jobs. To get higher reliability this adds 3 attempts with random offset backoff of up to 4 seconds

Checklist

  • Includes tests or only affects documentation.
  • Passes pre-commit checks.
  • Summarizes PR's changes in CHANGELOG.md

@baxen baxen requested a review from a team as a code owner June 21, 2023 20:13
Vertex has a few transient errors when starting custom jobs. To
get higher reliability this adds 3 attempts with random offset
backoff of up to 4 seconds
@baxen baxen force-pushed the baxen/create-job-tenacity branch from 3d7bc28 to 60f2343 Compare June 21, 2023 20:53
Copy link
Member

@desertaxle desertaxle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the contribution!

@desertaxle desertaxle merged commit 4390b66 into PrefectHQ:main Jun 26, 2023
9 of 10 checks passed
mmartsen added a commit to mmartsen/prefect-gcp that referenced this pull request Jun 26, 2023
Add retry policy for create custom job (PrefectHQ#192)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants