Repository navigation
Commit 327e6b7
committed
perf(search): search up to eight live accounts at once
A live search waits for every account before fusing results, and accounts ran
four at a time, so an organization with five to eight connected accounts paid
a second full provider round trip on every unscoped search. Production
seven-account searches took about 2.1 s at p50 against about 0.6 s for one
account. Each account is a single provider call, so eight at once stays well
inside provider and token-refresh limits.1 parent 9d8e4d8 commit 327e6b7
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
265 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
| |||
0 commit comments