mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-19 04:50:02 +02:00
move channel stuffs from internal/redis to transport.
This commit is contained in:
parent
d0782c3c7c
commit
b22118898d
8 changed files with 18 additions and 18 deletions
4
main.go
4
main.go
|
|
@ -44,7 +44,7 @@ var abi_mgr *abi.AbiManager
|
|||
|
||||
var publisher transport.Publisher
|
||||
|
||||
var redisNs redis.Namespace
|
||||
var redisNs transport.Namespace
|
||||
|
||||
// Reader states
|
||||
const (
|
||||
|
|
@ -240,7 +240,7 @@ func main() {
|
|||
// Init Abi cache
|
||||
abi_mgr = abi.NewAbiManager(eosClient, conf.Redis.CacheID)
|
||||
|
||||
redisNs = redis.Namespace{
|
||||
redisNs = transport.Namespace{
|
||||
Prefix: conf.Redis.Prefix,
|
||||
ChainID: chainInfo.ChainID.String(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue