Keep-Alive Interval = 1m

This commit is contained in:
Alan Moon 2025-07-31 14:59:43 -07:00
parent 11abea58c6
commit c6b8e15643

View File

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