1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00

app/abi/manager.go: Change cache prefix to thalos::cache.

This commit is contained in:
Henrik Hautakoski 2023-07-13 07:00:47 +02:00
parent 500cddc082
commit e377942d23

View file

@ -18,7 +18,7 @@ type AbiManager struct {
func NewAbiManager(rdb *redis.Client, api *eos.API, id string) *AbiManager {
// Init abi cache
cache := NewCache("ship.cache."+id+".abi", &redis_cache.Options{
cache := NewCache("thalos::cache::"+id+"::abi", &redis_cache.Options{
Redis: rdb,
// Cache 10k keys for 10 minutes.
LocalCache: redis_cache.NewTinyLFU(10000, 10*time.Minute),