From dc86690f04d2f0f94c0e244c67ac4b6b46b61acb Mon Sep 17 00:00:00 2001 From: David Fowler Date: Sat, 31 Mar 2018 12:27:23 -0700 Subject: [PATCH] Change default handshake timeout (#1808) - 5 seconds seems to be too low for long polling's RTT. We often see super flaky tests and it seems like this is the best fix. Ideally, we would do something more sophisitcated than just timeout the entire time to parse. --- src/Microsoft.AspNetCore.SignalR.Core/HubOptionsSetup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.SignalR.Core/HubOptionsSetup.cs b/src/Microsoft.AspNetCore.SignalR.Core/HubOptionsSetup.cs index e3ee99cf32..d2123ac883 100644 --- a/src/Microsoft.AspNetCore.SignalR.Core/HubOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.SignalR.Core/HubOptionsSetup.cs @@ -10,7 +10,7 @@ namespace Microsoft.AspNetCore.SignalR { public class HubOptionsSetup : IConfigureOptions { - internal static TimeSpan DefaultHandshakeTimeout => TimeSpan.FromSeconds(5); + internal static TimeSpan DefaultHandshakeTimeout => TimeSpan.FromSeconds(15); internal static TimeSpan DefaultKeepAliveInterval => TimeSpan.FromSeconds(15);