Keep-Alive Interval = 1m
This commit is contained in:
parent
11abea58c6
commit
c6b8e15643
@ -27,7 +27,7 @@ builder.Services.AddDbContext<DataContext>();
|
|||||||
builder.Services.AddSignalR().AddHubOptions<ChatHub>(options =>
|
builder.Services.AddSignalR().AddHubOptions<ChatHub>(options =>
|
||||||
{
|
{
|
||||||
options.EnableDetailedErrors = true;
|
options.EnableDetailedErrors = true;
|
||||||
options.KeepAliveInterval = TimeSpan.FromSeconds(15);
|
options.KeepAliveInterval = TimeSpan.FromMinutes(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
builder.Services.AddStackExchangeRedisCache(options =>
|
builder.Services.AddStackExchangeRedisCache(options =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user