fix(inbound): background active-node-only method warm-up service (review 2026-10-21 05/U3)

This commit is contained in:
Joseph Doherty
2026-10-22 08:41:55 -04:00
parent 4921ebb0c8
commit fa73ddb453
4 changed files with 163 additions and 2 deletions
@@ -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