mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-01-27 04:40:07 +08:00
810b492220
When setting the TTL to 0, we expect `UpdateAddrs` to atomically delete the addresses. However, due to funky clock stuff, "now" isn't always consistent and seems to make us think these addresses are _about_ to expire. Funky clock stuff -> `time.Now().Add(0).Unix() > time.Now().Unix()` in some cases... |
||
---|---|---|
.. | ||
addr_book_gc_test.go | ||
addr_book_gc.go | ||
addr_book.go | ||
cache.go | ||
cyclic_batch.go | ||
ds_test.go | ||
keybook.go | ||
metadata.go | ||
peerstore.go | ||
protobook.go |