Don't delete all the non-tombstone entries every 10mins!
This commit is contained in:
1 parent
9ab2da8deb
commit
1a4b38a10c
3 files changed
+5
-1
No files matched your search
@@ -131,6 +131,7 @@ func (es *Entries) merge(incoming Entries) Entries {
|
||||
return newEntries
|
||||
}
|
||||
|
||||
// f returning true means keep the entry.
|
||||
func (es *Entries) tombstone(ourname router.PeerName, f func(*Entry) bool) Entries {
|
||||
es.checkAndPanic()
|
||||
defer es.checkAndPanic()
|
||||
|
||||
Reference in new issue
Block a user