2
0
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:
Ken Hibino
2019-12-03 19:43:01 -08:00
parent 4afb3a2401
commit 57838600ef
6 changed files with 13 additions and 13 deletions

View File

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