1
0
Fork 0
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:
Henrik Hautakoski 2023-06-05 13:24:02 +02:00
parent f9124c2864
commit c2d60a1240
3 changed files with 4 additions and 4 deletions

View file

@ -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()),
}),