Commit 8771c07
committed
perf(run-store,webapp): parallelize idempotency fan-out and cap lookup concurrency
Run the routing store's new and legacy idempotency lookups concurrently to
match the existing findRuns fan-out, and cap the per-batch idempotency
point-lookup concurrency at 5 to leave headroom in the connection pool.1 parent 4d8d5ab commit 8771c07
2 files changed
Lines changed: 8 additions & 9 deletions
File tree
- apps/webapp/app/v3/services
- internal-packages/run-store/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
479 | 478 | | |
480 | 479 | | |
481 | 480 | | |
| |||
0 commit comments