github.com/onflow/flow-go@v0.33.17/network/p2p/inspector/validation/validation_inspector_config.go (about)

     1  package validation
     2  
     3  const (
     4  	// DefaultNumberOfWorkers default number of workers for the inspector component.
     5  	DefaultNumberOfWorkers = 5
     6  	// DefaultControlMsgValidationInspectorQueueCacheSize is the default size of the inspect message queue.
     7  	DefaultControlMsgValidationInspectorQueueCacheSize = 100
     8  	// DefaultClusterPrefixedControlMsgsReceivedCacheSize is the default size of the cluster prefixed topics received record cache.
     9  	DefaultClusterPrefixedControlMsgsReceivedCacheSize = 150
    10  	// DefaultClusterPrefixedControlMsgsReceivedCacheDecay the default cache decay value for cluster prefixed topics received cached counters.
    11  	DefaultClusterPrefixedControlMsgsReceivedCacheDecay = 0.99
    12  	// rpcInspectorComponentName the rpc inspector component name.
    13  	rpcInspectorComponentName = "gossipsub_rpc_validation_inspector"
    14  )