Server Timeout = 30s

Keep-Alive Interval  = 1m
This commit is contained in:
Alan Moon 2025-07-31 14:59:13 -07:00
parent 1b30636937
commit 9214460927

View File

@ -56,7 +56,7 @@ namespace QtCNETAPI.Services.GatewayService
}; };
}) })
.WithStatefulReconnect() .WithStatefulReconnect()
.WithServerTimeout(TimeSpan.FromMinutes(1)) .WithServerTimeout(TimeSpan.FromSeconds(30))
.WithKeepAliveInterval(TimeSpan.FromMinutes(1)); .WithKeepAliveInterval(TimeSpan.FromMinutes(1));
HubConnection = gwConBuilder.Build(); HubConnection = gwConBuilder.Build();