mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-28 13:29:28 +00:00
Introduce max relay config
This commit is contained in:
parent
ac01e7cc2a
commit
e1aa7958c1
@ -336,6 +336,12 @@ type
|
||||
name: "nat-min-confidence"
|
||||
.}: float
|
||||
|
||||
natMaxRelays* {.
|
||||
desc: "Maximum number of relay servers to reserve slots on simultaneously",
|
||||
defaultValue: 2,
|
||||
name: "nat-max-relays"
|
||||
.}: int
|
||||
|
||||
func defaultAddress*(conf: StorageConf): IpAddress =
|
||||
result = static parseIpAddress("127.0.0.1")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user