6 Commits
Author SHA1 Message Date
Marco Munizaga 631e47b133 Fix test races and enable race tests in CI (#626)
closes #624
2025-07-03 11:37:53 -07:00
galargh 097b4671b0 chore: staticcheck 2024-08-06 19:52:49 +00:00
Nishant Das 340387ef3f Fix Memory Leak In New Timecache Implementations (#528)
* fix bug

* add for last seen cache
2023-03-15 13:52:01 +02:00
vyzo 56c0e6c5c9 Refactor timecache implementations (#523)
* reimplement timecache for sane and performant behaviour

* remove seenMessagesMx, take advantage of new tc api

* fix timecache tests

* fix typo

* store expiry, don't make life difficult

* refactor common background sweep procedure for both impls

* add godocs to TimeCache
2023-02-21 21:13:13 +02:00
Hlib Kanunnikov 3dbc2fd5ba fix(timecache): remove panic in first seen cache on Add (#522) 2023-02-21 13:10:42 +02:00
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