feat: self-bootstrapping tracker, jetstream updates

* This removes redis as a hard dependency
* add profiler utils (temp)
This commit is contained in:
2024-10-31 14:52:51 +03:00
parent e03dabdf0f
commit 75b402bbf6
9 changed files with 85 additions and 93 deletions

View File

@@ -7,12 +7,12 @@ import (
)
type mapCache struct {
xmap *xsync.Map
xmap *xsync.MapOf[string, bool]
}
func NewMapCache() Cache {
return &mapCache{
xmap: xsync.NewMap(),
xmap: xsync.NewMapOf[string, bool](),
}
}