Repository navigation
Commit 8e117b0
committed
Add active-status index for toolchain images
Add a new immutable SQL migration creating a partial index on `installed_toolchain_images(status)` for `installed` and `pending` rows. This aligns with `list_active_images` lookups used during hosted-runner Docker reconnect/prewarm cycles and keeps the query scalable as table size grows, while remaining a defensive optimization at current low cardinality.1 parent 5ea55ff commit 8e117b0
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments