Commit d84be0d
authored
perf(aci): Avoid unnecessary organization db load (#99487)
Loading workflow.organization is convenient, but requires a db query in
most current cases. We could annotate workflow to avoid it, but it's
better practice to use fields from WorkflowEventData, which should
basically never require a query once populated.1 parent eef4afe commit d84be0d
File tree
2 files changed
+4
-3
lines changed- src/sentry/workflow_engine/processors
- tests/sentry/workflow_engine/processors
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
229 | 230 | | |
230 | | - | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
236 | 237 | | |
237 | 238 | | |
238 | 239 | | |
239 | | - | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
0 commit comments