-
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.
separate configured limit from slot count (#26803)
## Summary & Motivation Currently, the event log storage returns a `ConcurrencyKeyInfo` to represent the information about a particular pool. This info includes the number of slots available, but it doesn't have enough information to distinguish between the following cases: 1. no pool limit is explicitly set and there is no default value 2. no pool limit is explicitly set but there is a default value 3. a pool limit is explicitly set to 0 This PR adds more information to the returned object to help distinguish between cases 1 and 2. Specifically, there's a new nullable `limit` value, which returns the configured limit regardless of whether the pool has been initialized to create the corresponding slot rows. A limit value of `None` indicates an unconfigured pool, with no default limit. ## How I Tested These Changes BK
- Loading branch information
Showing
7 changed files
with
221 additions
and
66 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
92ffc2d
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-oqv571c6q-elementl.vercel.app
Built with commit 92ffc2d.
This pull request is being automatically deployed with vercel-action