mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-02-07 06:20:12 +08:00
fix PerminentAddrTTL comment
This commit is contained in:
parent
b53dd2e95e
commit
07712d63e3
@ -32,9 +32,7 @@ const (
|
|||||||
|
|
||||||
// Perminent TTLs (distinct so we can distinguish between them)
|
// Perminent TTLs (distinct so we can distinguish between them)
|
||||||
const (
|
const (
|
||||||
// PermanentAddrTTL is the ttl for a "permanent address" (e.g. bootstrap nodes)
|
// PermanentAddrTTL is the ttl for a "permanent address" (e.g. bootstrap nodes).
|
||||||
// if we haven't shipped you an update to ipfs in 356 days
|
|
||||||
// we probably arent running the same bootstrap nodes...
|
|
||||||
PermanentAddrTTL = math.MaxInt64 - iota
|
PermanentAddrTTL = math.MaxInt64 - iota
|
||||||
|
|
||||||
// ConnectedAddrTTL is the ttl used for the addresses of a peer to whom
|
// ConnectedAddrTTL is the ttl used for the addresses of a peer to whom
|
||||||
|
Loading…
Reference in New Issue
Block a user