mirror of
https://github.com/hibiken/asynq.git
synced 2025-10-26 11:16:12 +08:00
Minor improvement
This commit is contained in:
@@ -18,8 +18,8 @@ type Client struct {
|
||||
}
|
||||
|
||||
// NewClient and returns a new Client given a redis configuration.
|
||||
func NewClient(config *RedisConfig) *Client {
|
||||
r := rdb.NewRDB(newRedisClient(config))
|
||||
func NewClient(cfg *RedisConfig) *Client {
|
||||
r := rdb.NewRDB(newRedisClient(cfg))
|
||||
return &Client{r}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user