1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Fixed broken fuzzer

This commit is contained in:
AdamKorcz
2021-02-05 21:45:09 +00:00
parent 89da47939e
commit 4a9b7ce79a

View File

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