fix(desktop): raise default warm backend pool cap from 3 to 8 (#103401) - #103435
Closed
kyssta-exe wants to merge 1 commit into
Closed
kyssta-exe wants to merge 1 commit into
kyssta-exe wants to merge 1 commit into
Conversation
…search#103401) Five local profiles with the old 3-backend default saturated the hard spawn coordinator. The fourth profile waited 30s for a free slot while LRU eviction spared keepalive-fresh entries, surfacing 'Local backend start for "engineer" timed out while waiting for a free slot'. Raise the default maxBackends 3 -> 8 in both authoritative places: electron/pool-limits.ts and its hand-mirrored renderer copy src/store/pool-limits.ts. Persisted user values are untouched. 8 warm backends (~480MB at 60MB each) fits a realistic multi-bot roster without eviction; single-bot users still spawn exactly one. Mirrors fix for NousResearch#102822.
Duplicate of #102828 — same two-file change ( |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #103401
Five local profiles with the old 3-backend default saturated the hard spawn coordinator. The fourth profile waited 30s for a free slot while LRU eviction spared keepalive-fresh entries, surfacing
Local backend start for "engineer" timed out while waiting for a free slot.Raise the default
maxBackends3 -> 8 in both authoritative places:apps/desktop/electron/pool-limits.tsand its hand-mirrored renderer copyapps/desktop/src/store/pool-limits.ts. Persisted user values are untouched. At ~60MB per warm backend the new default (~480MB for 8) fits a realistic multi-bot roster without eviction; single-bot users still spawn exactly one. Mirrors the fix for #102822.Test:
vitest run electron/pool-limits.test.ts electron/pool-eviction.test.ts electron/pool-spawn-coordinator.test.ts— 140 passed (4 unrelated missing-electron fails). No other hardcoded defaults remain.