mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-12 06:19:33 +00:00
Introduce max relay config
This commit is contained in:
parent
77662d2d68
commit
bc05f8154d
@ -313,6 +313,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