mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-05 21:49:31 +00:00
Reduce symbol publication surface for DefaultXXX consts
This commit is contained in:
parent
096942828d
commit
1b2da689b6
@ -6,11 +6,11 @@ logScope:
|
||||
|
||||
const
|
||||
DefaultDiscv5Enabled*: bool = false
|
||||
DefaultDiscv5BitsPerHop*: int = 1
|
||||
DefaultDiscv5BucketIpLimit*: uint = 2
|
||||
DefaultDiscv5EnrAutoUpdate*: bool = true
|
||||
DefaultDiscv5TableIpLimit*: uint = 10
|
||||
DefaultDiscv5UdpPort*: Port = Port(9000)
|
||||
DefaultDiscv5BitsPerHop: int = 1
|
||||
DefaultDiscv5BucketIpLimit: uint = 2
|
||||
DefaultDiscv5EnrAutoUpdate: bool = true
|
||||
DefaultDiscv5TableIpLimit: uint = 10
|
||||
DefaultDiscv5UdpPort: Port = Port(9000)
|
||||
|
||||
###########################
|
||||
## Discv5 Config Builder ##
|
||||
|
||||
@ -5,10 +5,10 @@ logScope:
|
||||
topics = "waku conf builder filter service"
|
||||
|
||||
const
|
||||
DefaultFilterEnabled*: bool = false
|
||||
DefaultFilterMaxPeersToServe*: uint32 = 500
|
||||
DefaultFilterSubscriptionTimeout*: uint16 = 300
|
||||
DefaultFilterMaxCriteria*: uint32 = 1000
|
||||
DefaultFilterEnabled: bool = false
|
||||
DefaultFilterMaxPeersToServe: uint32 = 500
|
||||
DefaultFilterSubscriptionTimeout: uint16 = 300
|
||||
DefaultFilterMaxCriteria: uint32 = 1000
|
||||
|
||||
###################################
|
||||
## Filter Service Config Builder ##
|
||||
|
||||
@ -5,10 +5,10 @@ logScope:
|
||||
topics = "waku conf builder metrics server"
|
||||
|
||||
const
|
||||
DefaultMetricsEnabled*: bool = false
|
||||
DefaultMetricsHttpAddress*: IpAddress = static parseIpAddress("127.0.0.1")
|
||||
DefaultMetricsHttpPort*: Port = Port(8008)
|
||||
DefaultMetricsLogging*: bool = false
|
||||
DefaultMetricsEnabled: bool = false
|
||||
DefaultMetricsHttpAddress: IpAddress = static parseIpAddress("127.0.0.1")
|
||||
DefaultMetricsHttpPort: Port = Port(8008)
|
||||
DefaultMetricsLogging: bool = false
|
||||
|
||||
###################################
|
||||
## Metrics Server Config Builder ##
|
||||
|
||||
@ -5,7 +5,7 @@ import ../waku_conf, waku/waku_mix
|
||||
logScope:
|
||||
topics = "waku conf builder mix"
|
||||
|
||||
const DefaultMixEnabled*: bool = false
|
||||
const DefaultMixEnabled: bool = false
|
||||
|
||||
##################################
|
||||
## Mix Config Builder ##
|
||||
|
||||
@ -5,9 +5,9 @@ logScope:
|
||||
topics = "waku conf builder rest server"
|
||||
|
||||
const
|
||||
DefaultRestEnabled*: bool = false
|
||||
DefaultRestPort*: Port = Port(8645)
|
||||
DefaultRestAdmin*: bool = false
|
||||
DefaultRestEnabled: bool = false
|
||||
DefaultRestPort: Port = Port(8645)
|
||||
DefaultRestAdmin: bool = false
|
||||
|
||||
################################
|
||||
## REST Server Config Builder ##
|
||||
|
||||
@ -6,12 +6,12 @@ logScope:
|
||||
topics = "waku conf builder store service"
|
||||
|
||||
const
|
||||
DefaultStoreEnabled*: bool = false
|
||||
DefaultStoreDbMigration*: bool = true
|
||||
DefaultStoreDbVacuum*: bool = false
|
||||
DefaultStoreMaxNumDbConnections*: int = 50
|
||||
DefaultStoreResume*: bool = false
|
||||
DefaultStoreRetentionPolicy*: string = "time:" & $2.days.seconds
|
||||
DefaultStoreEnabled: bool = false
|
||||
DefaultStoreDbMigration: bool = true
|
||||
DefaultStoreDbVacuum: bool = false
|
||||
DefaultStoreMaxNumDbConnections: int = 50
|
||||
DefaultStoreResume: bool = false
|
||||
DefaultStoreRetentionPolicy: string = "time:" & $2.days.seconds
|
||||
|
||||
##################################
|
||||
## Store Service Config Builder ##
|
||||
|
||||
@ -4,7 +4,7 @@ import ../waku_conf
|
||||
logScope:
|
||||
topics = "waku conf builder store sync"
|
||||
|
||||
const DefaultStoreSyncEnabled*: bool = false
|
||||
const DefaultStoreSyncEnabled: bool = false
|
||||
|
||||
##################################
|
||||
## Store Sync Config Builder ##
|
||||
|
||||
@ -42,34 +42,34 @@ logScope:
|
||||
const git_version {.strdefine.} = "(unknown)"
|
||||
|
||||
const
|
||||
DefaultMaxConnections* = 150
|
||||
DefaultRelay*: bool = false
|
||||
DefaultMaxConnections = 150
|
||||
DefaultRelay: bool = false
|
||||
# historical confbuilder default; wakunode2 CLI deviates (true)
|
||||
DefaultLightPush*: bool = false
|
||||
DefaultPeerExchange*: bool = false
|
||||
DefaultLightPush: bool = false
|
||||
DefaultPeerExchange: bool = false
|
||||
# historical confbuilder default; wakunode2 CLI deviates (true)
|
||||
DefaultStoreSyncMount*: bool = false
|
||||
DefaultRendezvous*: bool = false
|
||||
DefaultStoreSyncMount: bool = false
|
||||
DefaultRendezvous: bool = false
|
||||
# historical confbuilder default; wakunode2 CLI deviates (true)
|
||||
DefaultMix*: bool = false
|
||||
DefaultRelayPeerExchange*: bool = false
|
||||
DefaultLogLevel*: logging.LogLevel = logging.LogLevel.INFO
|
||||
DefaultLogFormat*: logging.LogFormat = logging.LogFormat.TEXT
|
||||
DefaultNatStrategy*: string = "none"
|
||||
DefaultP2pTcpPort*: Port = Port(60000)
|
||||
DefaultP2pListenAddress*: IpAddress = static parseIpAddress("0.0.0.0")
|
||||
DefaultPortsShift*: uint16 = 0
|
||||
DefaultExtMultiAddrsOnly*: bool = false
|
||||
DefaultDnsAddrsNameServers*: seq[IpAddress] =
|
||||
DefaultRelayPeerExchange: bool = false
|
||||
DefaultLogLevel: logging.LogLevel = logging.LogLevel.INFO
|
||||
DefaultLogFormat: logging.LogFormat = logging.LogFormat.TEXT
|
||||
DefaultNatStrategy: string = "none"
|
||||
DefaultP2pTcpPort: Port = Port(60000)
|
||||
DefaultP2pListenAddress: IpAddress = static parseIpAddress("0.0.0.0")
|
||||
DefaultPortsShift: uint16 = 0
|
||||
DefaultExtMultiAddrsOnly: bool = false
|
||||
DefaultDnsAddrsNameServers: seq[IpAddress] =
|
||||
@[static parseIpAddress("1.1.1.1"), static parseIpAddress("1.0.0.1")]
|
||||
DefaultPeerPersistence*: bool = false
|
||||
DefaultPeerPersistence: bool = false
|
||||
DefaultAgentString*: string = "logos-delivery-" & git_version
|
||||
DefaultRelayShardedPeerManagement*: bool = false
|
||||
DefaultRelayServiceRatio*: string = "50:50"
|
||||
DefaultCircuitRelayClient*: bool = false
|
||||
DefaultRelayShardedPeerManagement: bool = false
|
||||
DefaultRelayServiceRatio: string = "50:50"
|
||||
DefaultCircuitRelayClient: bool = false
|
||||
DefaultP2pReliability*: bool = true
|
||||
DefaultNumShardsInCluster*: uint16 = 1
|
||||
DefaultShardingConfKind*: ShardingConfKind = AutoSharding
|
||||
DefaultNumShardsInCluster: uint16 = 1
|
||||
DefaultShardingConfKind: ShardingConfKind = AutoSharding
|
||||
|
||||
type MaxMessageSizeKind* = enum
|
||||
mmskNone
|
||||
|
||||
@ -5,9 +5,9 @@ logScope:
|
||||
topics = "waku conf builder websocket"
|
||||
|
||||
const
|
||||
DefaultWebSocketEnabled*: bool = false
|
||||
DefaultWebSocketSecureEnabled*: bool = false
|
||||
DefaultWebSocketPort*: Port = Port(8000)
|
||||
DefaultWebSocketEnabled: bool = false
|
||||
DefaultWebSocketSecureEnabled: bool = false
|
||||
DefaultWebSocketPort: Port = Port(8000)
|
||||
|
||||
##############################
|
||||
## WebSocket Config Builder ##
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user