-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AssetLiveDataProvider] Retry asset keys that fail to fetch after the…
… poll interval. (#17393) ## Summary & Motivation Currently if an asset key fails to fetch we never retry fetching it again because it gets stuck in the requested state. This PR fixes that and marks them as "fetched" when this happens. This has the consequence of (1) letting us move on to the next set of asset keys which could succeed and (2) it means we'll retry the failed asset keys again after the polling interval threshold is crossed. ## How I Tested These Changes jest. Locally threw an error and saw that we did end up retrying the failed asset keys after the polling interval was met.
- Loading branch information
Showing
3 changed files
with
111 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2840be6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagit-core-storybook ready!
✅ Preview
https://dagit-core-storybook-azjm77jpw-elementl.vercel.app
Built with commit 2840be6.
This pull request is being automatically deployed with vercel-action