Skip to content

Commit

Permalink
Adjust to prysm batch size (#5286)
Browse files Browse the repository at this point in the history
* prysm bugfix?

* 1010->1024
  • Loading branch information
MarekM25 authored and kamilchodola committed Feb 14, 2023
1 parent e8155a8 commit 036bae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Nethermind/Nethermind.JsonRpc/IJsonRpcConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion src/Nethermind/Nethermind.JsonRpc/JsonRpcConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
};
Expand Down

0 comments on commit 036bae8

Please sign in to comment.