feat(server): bounded worker-ready wait in GatewaySession (default off)

This commit is contained in:
Joseph Doherty
2026-06-16 16:48:02 -04:00
parent 0efa7d8cca
commit 4966ef3359
3 changed files with 283 additions and 14 deletions
@@ -505,7 +505,8 @@ public sealed class SessionManager : ISessionManager
leaseDuration,
openedAt,
eventStreaming,
TimeSpan.FromSeconds(Math.Max(0, _options.Sessions.DetachGraceSeconds)));
TimeSpan.FromSeconds(Math.Max(0, _options.Sessions.DetachGraceSeconds)),
TimeSpan.FromMilliseconds(Math.Max(0, _options.Sessions.WorkerReadyWaitTimeoutMs)));
}
private static string CreateClientCorrelationId(