|
|
@ -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)
|
|
|
|