1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-25 00:01:00 +03:00

Merge pull request #1654 from AdamKorcz/fuzz1

Fixed broken fuzzer
This commit is contained in:
Vladimir Mihailenco
2021-02-06 08:27:07 +02:00
committed by GitHub

View File

@@ -4,16 +4,17 @@ package fuzz
import (
"context"
"github.com/go-redis/redis"
"time"
)
var (
ctx = context.Background()
rdb *Client
rdb *redis.Client
)
func init() {
rdb = NewClient(&Options{
rdb = redis.NewClient(&redis.Options{
Addr: ":6379",
DialTimeout: 10 * time.Second,
ReadTimeout: 10 * time.Second,