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

merge api/redis_common and api/redis_pubsub to api/redis

This commit is contained in:
Henrik Hautakoski 2023-04-19 09:56:52 +02:00
parent 102045e47e
commit a8bac16aa9
9 changed files with 10 additions and 15 deletions

View file

@ -12,10 +12,9 @@ import (
log "github.com/sirupsen/logrus"
"thalos/abi"
api_redis "thalos/api/redis"
"thalos/app"
"thalos/config"
"thalos/transport/redis_common"
"thalos/transport/redis_pubsub"
"github.com/nikoksr/notify"
"github.com/nikoksr/notify/service/telegram"
@ -190,7 +189,7 @@ func main() {
processor := app.SpawnProccessor(
shClient,
redis_pubsub.NewPublisher(rdb, redis_common.Namespace{
api_redis.NewPublisher(rdb, api_redis.Namespace{
Prefix: conf.Redis.Prefix,
ChainID: chainInfo.ChainID.String(),
}),