From 036bae89bdd81ee57195d9a43620e19018b32b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Moraczy=C5=84ski?= Date: Tue, 14 Feb 2023 00:30:49 +0100 Subject: [PATCH] Adjust to prysm batch size (#5286) * prysm bugfix? * 1010->1024 --- src/Nethermind/Nethermind.JsonRpc/IJsonRpcConfig.cs | 2 +- src/Nethermind/Nethermind.JsonRpc/JsonRpcConfig.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Nethermind/Nethermind.JsonRpc/IJsonRpcConfig.cs b/src/Nethermind/Nethermind.JsonRpc/IJsonRpcConfig.cs index 036e4afc5c2..87cad4349b0 100644 --- a/src/Nethermind/Nethermind.JsonRpc/IJsonRpcConfig.cs +++ b/src/Nethermind/Nethermind.JsonRpc/IJsonRpcConfig.cs @@ -128,7 +128,7 @@ public interface IJsonRpcConfig : IConfig [ConfigItem( Description = "Limit batch size for batched json rpc call", - DefaultValue = "1000")] + DefaultValue = "1024")] int MaxBatchSize { get; set; } [ConfigItem( diff --git a/src/Nethermind/Nethermind.JsonRpc/JsonRpcConfig.cs b/src/Nethermind/Nethermind.JsonRpc/JsonRpcConfig.cs index 7994ec82e0b..555c0fa407d 100644 --- a/src/Nethermind/Nethermind.JsonRpc/JsonRpcConfig.cs +++ b/src/Nethermind/Nethermind.JsonRpc/JsonRpcConfig.cs @@ -50,7 +50,7 @@ public int WebSocketsPort public string EngineHost { get; set; } = "127.0.0.1"; public int? EnginePort { get; set; } = null; public string[] EngineEnabledModules { get; set; } = ModuleType.DefaultEngineModules.ToArray(); - public int MaxBatchSize { get; set; } = 1000; + public int MaxBatchSize { get; set; } = 1024; public long? MaxBatchResponseBodySize { get; set; } = 30.MB(); }; };