-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Labels
kind/supportA question or request for supportA question or request for supporttopic/docsDocumentationDocumentation
Description
While working on a go-libp2p-kad-dht fork I noticed this line of code within the records.go file that says the max record age is 36 hours.
Throughout other parts of the codebase, such as the the providers.go file, provide validity is set to 24 hours. Additionally from conversations over irc and discord, I was under the assumption that the max record age is 24 hours.
For example in handlers.go we perform a check against MaxRecordAge to determine whether or not we should delete old records. With the current MaxRecordAge, instead of invalidating records after 24 hours, we will do it after 36 hours.
Is this a bug, or an undocumented edge-case?
Metadata
Metadata
Assignees
Labels
kind/supportA question or request for supportA question or request for supporttopic/docsDocumentationDocumentation