Commit b534c92
committed
perf(webapp): select only needed columns in dev current-worker lookup
The DEVELOPMENT branch of findCurrentWorkerFromEnvironment fetched every
BackgroundWorker column (including the large metadata JSON) but the function
only returns 7 small fields. Add a select matching the declared return type so
the discarded columns never leave the database.
refs TRI-132981 parent 8dc8e1b commit b534c92
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
212 | 221 | | |
213 | 222 | | |
214 | 223 | | |
| |||
0 commit comments