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
This PR introduces a default TTL for records.
- the default is set to 36h if the record ttl is unspecified
- this ensures the local memory store is not polluted with records
without TTL
Part of: #129
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
If the record received by
kad::put_value
does not have a TTL, use the default 36h expiry.litep2p/src/protocol/libp2p/kademlia/record.rs
Lines 88 to 89 in 467a457
Tasks
The text was updated successfully, but these errors were encountered: