-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fixing Sync #1830
Fixing Sync #1830
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1830 +/- ##
==========================================
- Coverage 71.69% 71.35% -0.35%
==========================================
Files 104 104
Lines 7341 7372 +31
==========================================
- Hits 5263 5260 -3
- Misses 1590 1621 +31
- Partials 488 491 +3 |
@@ -165,7 +165,7 @@ var defaultBeaconConfig = &BeaconChainConfig{ | |||
DepositsForChainStart: 16384, | |||
RandBytes: 3, | |||
SyncPollingInterval: 6 * 1, // Query nodes over the network every slot for sync status. | |||
BatchBlockLimit: 100, | |||
BatchBlockLimit: 50, |
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.
why changed it to 50?
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.
This was just a param I was testing with to get sync to work. We can change it back
@@ -62,6 +62,7 @@ func NewSyncService(ctx context.Context, cfg *Config) *Service { | |||
|
|||
// Start kicks off the sync service | |||
func (ss *Service) Start() { | |||
slog.Info("Starting Sync Service") |
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.
We can just log Starting service
here, sync is redundant with field
Description
Write why you are making the changes in this pull request.
Sync stalls at runtime, this PR is to fix any bugs for it.
Write a summary of the changes you are making.