Commit 9a2b883
gq47193
[DS-7256][refactor] Optimization for task instances query
- assemble a Map<Long, User> outside of the loop instead of the query inside1 parent 6beae19 commit 9a2b883
1 file changed
Lines changed: 6 additions & 4 deletions
File tree
- dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | | - | |
139 | | - | |
140 | | - | |
| 141 | + | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| |||
0 commit comments