comment about NATs
This commit is contained in:
parent
dc703e20dc
commit
d8bfa083d2
3
const.go
3
const.go
@ -9,7 +9,8 @@ const (
|
|||||||
DEFAULT_REPORT_FILE = "/var/lib/dsnetreport.json"
|
DEFAULT_REPORT_FILE = "/var/lib/dsnetreport.json"
|
||||||
DEFAULT_LISTEN_PORT = 51820
|
DEFAULT_LISTEN_PORT = 51820
|
||||||
|
|
||||||
// keepalive always configured for everything
|
// keepalive always configured for everything. Set to a value likely to
|
||||||
|
// stop most NATs from dropping the connection.
|
||||||
KEEPALIVE_SECONDS = 21
|
KEEPALIVE_SECONDS = 21
|
||||||
|
|
||||||
// when is a peer considered gone forever? (could remove)
|
// when is a peer considered gone forever? (could remove)
|
||||||
|
Loading…
Reference in New Issue
Block a user