You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 25, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: config.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -293,6 +293,7 @@ type Config struct {
293
293
WSPingInterval time.Duration`long:"ws-ping-interval" description:"The ping interval for REST based WebSocket connections, set to 0 to disable sending ping messages from the server side"`
294
294
WSPongWait time.Duration`long:"ws-pong-wait" description:"The time we wait for a pong response message on REST based WebSocket connections before the connection is closed as inactive"`
295
295
NATbool`long:"nat" description:"Toggle NAT traversal support (using either UPnP or NAT-PMP) to automatically advertise your external IP address to the network -- NOTE this does not support devices behind multiple NATs"`
296
+
AddPeers []string`long:"addpeer" description:"Specify peers to connect to first"`
296
297
MinBackoff time.Duration`long:"minbackoff" description:"Shortest backoff when reconnecting to persistent peers. Valid time units are {s, m, h}."`
297
298
MaxBackoff time.Duration`long:"maxbackoff" description:"Longest backoff when reconnecting to persistent peers. Valid time units are {s, m, h}."`
298
299
ConnectionTimeout time.Duration`long:"connectiontimeout" description:"The timeout value for network connections. Valid time units are {ms, s, m, h}."`
0 commit comments