diff --git a/ArenaService/ArenaService/Program.cs b/ArenaService/ArenaService/Program.cs index 66e754f..697b12f 100644 --- a/ArenaService/ArenaService/Program.cs +++ b/ArenaService/ArenaService/Program.cs @@ -3,6 +3,7 @@ using GraphQL.Server.Ui.Playground; using GraphQL.Types; using Libplanet.Crypto; +using Microsoft.AspNetCore.Server.Kestrel.Core; using StackExchange.Redis; using AddressType = ArenaService.AddressType; @@ -51,6 +52,11 @@ healthChecksBuilder.AddCheck(nameof(RpcNodeHealthCheck)); } +builder.WebHost.ConfigureKestrel(options => +{ + options.Limits.MinRequestBodyDataRate = new MinDataRate(240, TimeSpan.FromMinutes(1)); +}); + var app = builder.Build(); app