Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

+ renamed config vars for L1 parallel sync#2768

Merged
joanestebanr merged 2 commits into
release/v0.4.0from
feature/2767-renaming_config_vars_for_parallel_sync
Nov 8, 2023
Merged

+ renamed config vars for L1 parallel sync#2768
joanestebanr merged 2 commits into
release/v0.4.0from
feature/2767-renaming_config_vars_for_parallel_sync

Conversation

@joanestebanr
Copy link
Copy Markdown
Contributor

@joanestebanr joanestebanr commented Nov 8, 2023

Closes #2767

What does this PR do?

Next parameters have been changed:

L1SynchronizationMode = parallel
	[Synchronizer.L1ParallelSynchronization]
		MaxClients = 10
		MaxPendingNoProcessedBlocks = 25
		RequestLastBlockPeriod = "5s"
		RequestLastBlockTimeout = "5s"
		RequestLastBlockMaxRetries = 3
		StatisticsPeriod = "5m"
		TimeoutMainLoop = "5m"
		RollupInfoRetriesSpacing= "5s"
		FallbackToSequentialModeOnSynchronized = false
		[Synchronizer.L1ParallelSynchronization.PerformanceWarning]
			AceptableInacctivityTime = "5s"
			ApplyAfterNumRollupReceived = 10

this are the old ones:

UseParallelModeForL1Synchronization = true
	[Synchronizer.L1ParallelSynchronization]
		NumberOfParallelOfEthereumClients = 10
		CapacityOfBufferingRollupInfoFromL1 = 25
		TimeForCheckLastBlockOnL1Time = "5s"
		TimeoutForRequestLastBlockOnL1 = "5s"
		MaxNumberOfRetriesForRequestLastBlockOnL1 = 3
		TimeForShowUpStatisticsLog = "5m"
		TimeOutMainLoop = "5m"
		MinTimeBetweenRetriesForRollupInfo = "5s"
                SwitchToSequentialModeIfIsSynchronized = false
		[Synchronizer.L1ParallelSynchronization.PerformanceCheck]
			AcceptableTimeWaitingForNewRollupInfo = "5s"
			NumIterationsBeforeStartCheckingTimeWaitinfForNewRollupInfo = 10	

Reviewers

@ARR552
@agnusmor

@joanestebanr joanestebanr merged commit a4770f3 into release/v0.4.0 Nov 8, 2023
@joanestebanr joanestebanr deleted the feature/2767-renaming_config_vars_for_parallel_sync branch November 8, 2023 17:02
joanestebanr added a commit that referenced this pull request Nov 9, 2023
* + renamed config vars for L1 parallel sync
joanestebanr added a commit that referenced this pull request Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants