Skip to content

Commit

Permalink
Reduce GC pause from 1sec to 500ms for faster blocks (#7507)
Browse files Browse the repository at this point in the history
  • Loading branch information
benaadams authored Sep 30, 2024
1 parent 4f8bfb1 commit e873cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Merge.Plugin/GC/GCKeeper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ private async Task ScheduleGCInternal()
{
// This should give time to finalize response in Engine API
// Normally we should get block every 12s (5s on some chains)
// Lets say we process block in 2s, then delay 1s, then invoke GC
await Task.Delay(1000);
// Lets say we process block in 2s, then delay 500ms, then invoke GC
await Task.Delay(500);

if (GCSettings.LatencyMode != GCLatencyMode.NoGCRegion)
{
Expand Down

0 comments on commit e873cbd

Please sign in to comment.