default periodic sync timeout
This commit is contained in:
parent
7409171af3
commit
de47b5aaf5
@ -58,7 +58,7 @@ func NewHeadSync(
|
||||
l := log.With(zap.String("spaceId", spaceId))
|
||||
factory := spacesyncproto.ClientFactoryFunc(spacesyncproto.NewDRPCSpaceSyncClient)
|
||||
syncer := newDiffSyncer(spaceId, diff, peerManager, cache, storage, factory, syncStatus, l)
|
||||
periodicSync := periodicsync.NewPeriodicSync(syncPeriod, time.Minute*10, syncer.Sync, l)
|
||||
periodicSync := periodicsync.NewPeriodicSync(syncPeriod, time.Minute, syncer.Sync, l)
|
||||
|
||||
return &headSync{
|
||||
spaceId: spaceId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user