1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +00:00

SignalR disconnect timeout is now 5 minutes instead of 30 seconds

This commit is contained in:
Mark McDowall 2013-09-03 22:02:58 -07:00
parent 1166a81eb3
commit d5e1be39f1

View file

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