How to configure disconnectTimeout ?
Issue #7
open
Hello,
I am currently using your great module in my webapp. However, I cannot get around the task of tweaking the various timouts.
I tried injecting an IConfigurationManager into my hub and modifying the timeout, but nothing changes.
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Configuration;
[HubName("CrappyHub")]
public class CrappyHub : Hub
{
public CrappyHub(IConfigurationManager configurationManager):base() {
configurationManager.DisconnectTimeout = TimeSpan.FromSeconds(31);
}
// ...
}
What do I miss?
Thanks in advance!
Comments (2)
-
-
- changed status to open
- Log in to comment
Sorry for the delay - it's been really hectic. Looking at it now.