Commit 4b92b34
committed
perf(webapp): select only needed columns in dev current-worker lookup
The development-environment branch of findCurrentWorkerFromEnvironment loaded
every BackgroundWorker column, including the large metadata JSON, but the
function only returns a handful of small fields. Add a select matching the
return type so the unused columns never leave the database.1 parent 8dc8e1b commit 4b92b34
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