mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-24 16:53:54 +00:00
SignalR disconnect timeout is now 5 minutes instead of 30 seconds
This commit is contained in:
parent
1166a81eb3
commit
d5e1be39f1
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue