mirror of
https://github.com/hibiken/asynq.git
synced 2025-10-21 21:46:12 +08:00
Rename to RedisConfig
This commit is contained in:
@@ -12,12 +12,12 @@ func TestBackground(t *testing.T) {
|
||||
ignoreOpt := goleak.IgnoreTopFunction("github.com/go-redis/redis/v7/internal/pool.(*ConnPool).reaper")
|
||||
defer goleak.VerifyNoLeaks(t, ignoreOpt)
|
||||
|
||||
bg := NewBackground(10, &RedisOpt{
|
||||
bg := NewBackground(10, &RedisConfig{
|
||||
Addr: "localhost:6379",
|
||||
DB: 15,
|
||||
})
|
||||
|
||||
client := NewClient(&RedisOpt{
|
||||
client := NewClient(&RedisConfig{
|
||||
Addr: "localhost:6379",
|
||||
DB: 15,
|
||||
})
|
||||
|
Reference in New Issue
Block a user