last ...
This commit is contained in:
@@ -254,7 +254,11 @@ namespace xPushService.DI
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Register SignalR ...
|
// Register SignalR ...
|
||||||
var builder = services.AddSignalR();
|
var builder = services.AddSignalR(options =>
|
||||||
|
{
|
||||||
|
options.KeepAliveInterval = TimeSpan.FromSeconds(10);
|
||||||
|
options.ClientTimeoutInterval = TimeSpan.FromSeconds(10);
|
||||||
|
});
|
||||||
|
|
||||||
//
|
//
|
||||||
// Add NewtonSoftJson Protocol ...
|
// Add NewtonSoftJson Protocol ...
|
||||||
|
|||||||
Reference in New Issue
Block a user