This commit is contained in:
tsommer committed 2024-05-31 22:09:43 +02:00
1 parent af37a5b0e5
commit e4f045a2cc
3 files changed
+72 -3

No files matched your search

+4 -2
View File
@@ -30,9 +30,11 @@ builder.Services.AddSingleton<SettingsManager>();
builder.Services.AddSingleton<Random>();
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents()
.AddHubOptions(x =>
.AddHubOptions(options =>
{
x.MaximumReceiveMessageSize = null;
options.MaximumReceiveMessageSize = null;
options.ClientTimeoutInterval = TimeSpan.FromSeconds(1_200);
options.HandshakeTimeout = TimeSpan.FromSeconds(30);
});
var port = args.Length > 0 ? args[0] : "5000";