fix(inbound): background active-node-only method warm-up service (review 2026-10-21 05/U3)
This commit is contained in:
@@ -59,6 +59,9 @@ public class InboundScriptExecutor
|
||||
private const int KnownBadMethodsCap = 1000;
|
||||
private readonly ConcurrentDictionary<string, string> _knownBadMethods = new();
|
||||
|
||||
/// <summary>Diagnostic helper — whether a compiled handler is cached for the method.</summary>
|
||||
internal bool HasHandler(string methodName) => _scriptHandlers.ContainsKey(methodName);
|
||||
|
||||
/// <summary>
|
||||
/// Diagnostic helper — returns the current size of the
|
||||
/// known-bad-methods cache so tests can assert the cap is honoured. Internal
|
||||
|
||||
Reference in New Issue
Block a user