mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
api/redis/subscriber.go: Adding context as first parameter to NewSubscriber()
This commit is contained in:
parent
c1efffd4ba
commit
f9124c2864
4 changed files with 11 additions and 9 deletions
|
|
@ -66,7 +66,7 @@ func main() {
|
|||
"interval": interval,
|
||||
}).Info("Starting benchmark")
|
||||
|
||||
sub := api_redis.NewSubscriber(rdb, api_redis.Namespace{
|
||||
sub := api_redis.NewSubscriber(context.Background(), rdb, api_redis.Namespace{
|
||||
Prefix: redis_prefix,
|
||||
ChainID: chain_id,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue