Changed the time out interval for signalR
This commit is contained in:
parent
bb328ad980
commit
88de8b218b
@ -75,8 +75,8 @@ builder.Services.AddCors(options =>
|
||||
builder.Services.AddControllers().AddNewtonsoftJson();
|
||||
builder.Services.AddSignalR(options =>
|
||||
{
|
||||
options.KeepAliveInterval = TimeSpan.FromSeconds(15); // server sends ping every 15s (default)
|
||||
options.ClientTimeoutInterval = TimeSpan.FromSeconds(30); // max time client waits after last message before timing out
|
||||
options.KeepAliveInterval = TimeSpan.FromSeconds(30); // server sends ping every 15s (default)
|
||||
options.ClientTimeoutInterval = TimeSpan.FromSeconds(60); // max time client waits after last message before timing out
|
||||
});
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddHttpContextAccessor();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user