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:
parent
500cddc082
commit
e377942d23
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue