Skip to content

Commit 427ba1a

Browse files
committed
Merge remote-tracking branch 'origin/staging' into perf/lucid-parallel-read
2 parents 131b421 + 71f05ec commit 427ba1a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎apps/sim/lib/sim-search/live/application.ts‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,12 @@ function resultFor(
261261
}
262262
}
263263

264-
/** Accounts searched at once; bounds token refresh and provider fan-out in large organizations. */
265-
const ACCOUNT_CONCURRENCY = 4
264+
/**
265+
* Accounts searched at once; bounds token refresh and provider fan-out in large organizations.
266+
* Each account is one provider, and a search waits for every account, so a second wave adds a
267+
* full provider round trip; eight covers the account count most organizations search.
268+
*/
269+
const ACCOUNT_CONCURRENCY = 8
266270
/** Candidates verified at once; each verification is one or more provider requests. */
267271
const VERIFY_CONCURRENCY = 5
268272
const MAX_ACCOUNTS = 20

0 commit comments

Comments
 (0)