mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +00:00
revert queue redis
This commit is contained in:
parent
61dc3b558f
commit
484876adab
1 changed files with 1 additions and 7 deletions
|
@ -56,19 +56,13 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
|
|||
}
|
||||
defer db.Close()
|
||||
|
||||
qredis, err := cmdutil.NewRedisClient(ctx, 4)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer qredis.Close()
|
||||
|
||||
redis, err := cmdutil.NewRedisClient(ctx, consumers)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer redis.Close()
|
||||
|
||||
queue, err := cmdutil.NewQueueClient(logger, qredis, "worker")
|
||||
queue, err := cmdutil.NewQueueClient(logger, redis, "worker")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue