-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add logging for trie goroutines and batch #6770
add logging for trie goroutines and batch #6770
Conversation
state/syncer/baseAccountsSyncer.go
Outdated
@@ -224,6 +224,7 @@ func (b *baseAccountsSyncer) GetSyncedTries() map[string]common.Trie { | |||
EnableEpochsHandler: b.enableEpochsHandler, | |||
MaxTrieLevelInMemory: b.maxTrieLevelInMemory, | |||
Throttler: trie.NewDisabledTrieGoRoutinesThrottler(), | |||
Identifier: "base sync main trie ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a constant for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
The base branch was changed.
genesis/process/memoryComponents.go
Outdated
@@ -29,6 +29,7 @@ func createAccountAdapter( | |||
EnableEpochsHandler: enableEpochsHandler, | |||
MaxTrieLevelInMemory: maxTrieLevelInMemory, | |||
Throttler: trie.NewDisabledTrieGoRoutinesThrottler(), | |||
Identifier: "main trie in memory", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a const here also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Reasoning behind the pull request
Proposed changes
goroutinesManager
and fortrieBatchManager
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?