mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
api/redis/publisher.go: pass context as first parameter to NewPublisher()
This commit is contained in:
parent
f9124c2864
commit
c2d60a1240
3 changed files with 4 additions and 4 deletions
|
|
@ -271,7 +271,7 @@ func main() {
|
|||
|
||||
processor := app.SpawnProccessor(
|
||||
shClient,
|
||||
api_redis.NewPublisher(rdb, api_redis.Namespace{
|
||||
api_redis.NewPublisher(context.Background(), rdb, api_redis.Namespace{
|
||||
Prefix: conf.Redis.Prefix,
|
||||
ChainID: getChain(chainInfo.ChainID.String()),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue