Commit 8c73722
Ensure only one thread is ever building the full asset graph at once (#21570)
Summary:
A better version of https://github.com/dagster-io/internal/pull/21249 - instead of doing it in one specific context, do it anytime any context is constructing the full asset graph (since it is expensive and we would prefer a bit of contention to having multiple thread doing a heavy asset graph simultaneously)
Test Plan:
BK
## Summary & Motivation
## Test Plan
## Changelog
> The changelog is generated by an agent that examines merged PRs and
> summarizes/categorizes user-facing changes. You can optionally replace
> this text with a terse description of any user-facing changes in your PR,
> which the agent will prioritize. Otherwise, delete this section.
Internal-RevId: 19ac17aaed30d702e4c104dc55882ea7dc45b3f51 parent b383a06 commit 8c73722
1 file changed
Lines changed: 16 additions & 5 deletions
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | | - | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
67 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
68 | 79 | | |
69 | 80 | | |
70 | 81 | | |
| |||
0 commit comments