mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
Move Key and Namespace from transport/redis_pubsub to transport/redis_common
This commit is contained in:
parent
acdf827223
commit
531a2d3d17
9 changed files with 10 additions and 5 deletions
3
main.go
3
main.go
|
|
@ -14,6 +14,7 @@ import (
|
|||
"eosio-ship-trace-reader/abi"
|
||||
"eosio-ship-trace-reader/app"
|
||||
"eosio-ship-trace-reader/config"
|
||||
"eosio-ship-trace-reader/transport/redis_common"
|
||||
"eosio-ship-trace-reader/transport/redis_pubsub"
|
||||
|
||||
"github.com/nikoksr/notify"
|
||||
|
|
@ -221,7 +222,7 @@ func main() {
|
|||
|
||||
app.SpawnProccessor(
|
||||
shClient,
|
||||
redis_pubsub.NewPublisher(rdb, redis_pubsub.Namespace{
|
||||
redis_pubsub.NewPublisher(rdb, redis_common.Namespace{
|
||||
Prefix: conf.Redis.Prefix,
|
||||
ChainID: chainInfo.ChainID.String(),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue