Mohsin Zaidi
973fef56e1
feat: expire messages from the cache based on last seen time ( #513 )
...
* feat: expire messages from the cache based on last seen time
* chore: minor renaming
* fix: messages should not be found after expiration
* chore: editorial
* fix: use new time cache strategy consistently
* fix: default to old time cache and add todo for background gc
2023-01-24 02:02:44 +02:00
Marten Seemann
4f56e8f0a7
update go-libp2p to v0.22.0 ( #498 )
...
* update go-libp2p to v0.22.0
* skip TestGossipsubConnTagMessageDeliveries
2022-08-26 02:45:41 -07:00
Edgar Aroutiounian
eef4d41e0e
[blacklist] Use .Has check before add in time cached version - adjust signature
2020-05-16 19:58:13 +03:00
Aarsh Shah
6eeed58a50
defer unlocking
2020-02-05 14:33:20 +05:30
Aarsh Shah
677ca1025b
added mutex to timecache
2020-02-05 14:13:21 +05:30
Aarsh Shah
3f48f468ac
replace lru cache blacklist implementation with a time cache
2020-02-04 20:05:16 +05:30
Raúl Kripalani
49274b0e8a
migrate to consolidated types. ( #185 )
2019-05-26 17:19:03 +01:00
vyzo
f6ac3aab4f
lru blackclist
2019-01-17 14:20:34 +02:00
vyzo
f084087574
blacklist type and option
2019-01-17 14:05:04 +02:00