Commit 47bf3aa
committed
fix(webapp): compare per-key running against the per-key concurrency limit
On a concurrency-keyed queue the limit applies per key, but the run inspector's
Concurrency tile rendered the queue-wide running count against that per-key
limit, so a run could read "8 / 2 · 100%" while its own key sat at 1 of 2. The
at-limit check already used the key's count, so the number and the warning
disagreed. Use the key's running count for the value and the percentage too;
non-keyed queues are unchanged.1 parent f4a6698 commit 47bf3aa
1 file changed
Lines changed: 9 additions & 4 deletions
File tree
- apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1281 | 1281 | | |
1282 | 1282 | | |
1283 | 1283 | | |
1284 | | - | |
1285 | | - | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
1286 | 1290 | | |
1287 | | - | |
| 1291 | + | |
| 1292 | + | |
1288 | 1293 | | |
1289 | 1294 | | |
1290 | 1295 | | |
| |||
1317 | 1322 | | |
1318 | 1323 | | |
1319 | 1324 | | |
1320 | | - | |
| 1325 | + | |
1321 | 1326 | | |
1322 | 1327 | | |
1323 | 1328 | | |
| |||
0 commit comments