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
commit 89b72c9e2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

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,