Dashboardopencode-loreAlways preserve primary-worker and pool…

Always preserve primary-worker and pool-sizing invariants

Category: preference
Confidence: 0.80
ID: 01a0af02-766d-72c8-9470-274a1fcd3250
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 1WOHBDvviEvs0oK84
Created: 2026-09-17 09:53:29
Updated: 2026-09-17 10:56:09

Content

When modifying embedding-pool sizing or configuration, treat the primary embedding worker as always present and outside optional pool-growth logic; its own OOM backoff governs recovery. Keep _configuredEmbedPoolSize() a side-effect-free parser that never creates a worker or pool. Normalize missing, malformed, non-finite, or otherwise invalid configuration/environment values to undefined, never NaN.

Move to: