SignalR disconnect timeout is now 5 minutes instead of 30 seconds

pull/2/head
Mark McDowall 11 years ago
parent 1166a81eb3
commit d5e1be39f1

@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using Microsoft.AspNet.SignalR;
using NzbDrone.Api.SignalR;
@ -17,6 +18,8 @@ namespace NzbDrone.Host.Owin.MiddleWare
_persistentConnections = persistentConnections;
SignalrDependencyResolver.Register(container);
GlobalHost.Configuration.DisconnectTimeout = TimeSpan.FromSeconds(300000);
}
public void Attach(IAppBuilder appBuilder)

Loading…
Cancel
Save