@ -139,25 +139,25 @@ var (
defaultTestNetSyncConfig = harmonyconfig.SyncConfig{
Enabled: true,
Downloader: false,
Concurrency: 4,
MinPeers: 4,
InitStreams: 4,
DiscSoftLowCap: 4,
DiscHardLowCap: 4,
Concurrency: 2,
MinPeers: 2,
InitStreams: 2,
DiscSoftLowCap: 2,
DiscHardLowCap: 2,
DiscHighCap: 1024,
DiscBatch: 8,
DiscBatch: 3,
}
defaultLocalNetSyncConfig = harmonyconfig.SyncConfig{
Downloader: true,
defaultElseSyncConfig = harmonyconfig.SyncConfig{
@ -203,6 +203,7 @@ func (d *Downloader) loop() {
time.Sleep(5 * time.Second)
trigger()
}()
time.Sleep(1 * time.Second)
continue
d.logger.Info().Int("block added", addedBN).
@ -125,6 +125,7 @@ func (sm *streamManager) loop() {
case <-sm.discCh:
if sm.coolDown.IsSet() {
sm.logger.Info().Msg("skipping discover for cool down")
if discCancel != nil {