mirror of
https://github.com/morluto/rea.git
synced 2026-11-12 09:52:27 +00:00
fix(settings): classify caller-selected limits as parameter updates
analysis_timeout_ms, max_heap_mb, and command_timeout_ms keep the source chosen by the caller, the runtime override, or the built-in default. A request value reports update_mode parameter because update_analysis_settings cannot change that call.
This commit is contained in:
1 parent
58a1216a57
commit
0ae186e196
14 files changed
+128
-24
No files matched your search
@@ -951,7 +951,7 @@ export class JavaScriptAnalysisWorker {
|
||||
limit: analysisSettingLimit(
|
||||
"javascript.max_heap_mb",
|
||||
this.limits.heapMb,
|
||||
undefined,
|
||||
this.limits.heapSource,
|
||||
),
|
||||
remediationAction: javaScriptWorkerHeapRemediation(this.limits.heapMb),
|
||||
},
|
||||
@@ -1150,7 +1150,7 @@ export class JavaScriptAnalysisWorker {
|
||||
limit: analysisSettingLimit(
|
||||
"javascript.analysis_timeout_ms",
|
||||
this.limits.timeoutMs,
|
||||
undefined,
|
||||
this.limits.timeoutSource,
|
||||
),
|
||||
capturedOutput: this.#captured(),
|
||||
userMessage: `JavaScript source analysis reached its ${String(this.limits.timeoutMs)}ms per-source server/provider deadline (analysis_timeout_ms), not the MCP client deadline.`,
|
||||
@@ -1185,7 +1185,7 @@ export class JavaScriptAnalysisWorker {
|
||||
limit: analysisSettingLimit(
|
||||
"javascript.max_heap_mb",
|
||||
this.limits.heapMb,
|
||||
undefined,
|
||||
this.limits.heapSource,
|
||||
),
|
||||
}
|
||||
: {}),
|
||||
|
||||
Reference in new issue
Block a user