MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / DefaultStateSyncConfig

Function DefaultStateSyncConfig

config/config.go:818–825  ·  view source on GitHub ↗

DefaultStateSyncConfig returns a default configuration for the state sync service

()

Source from the content-addressed store, hash-verified

816
817// DefaultStateSyncConfig returns a default configuration for the state sync service
818func DefaultStateSyncConfig() *StateSyncConfig {
819 return &StateSyncConfig{
820 TrustPeriod: 168 * time.Hour,
821 DiscoveryTime: 15 * time.Second,
822 ChunkRequestTimeout: 10 * time.Second,
823 ChunkFetchers: 4,
824 }
825}
826
827// TestFastSyncConfig returns a default configuration for the state sync service
828func TestStateSyncConfig() *StateSyncConfig {

Calls

no outgoing calls