1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Vendor syncutil.Once

This commit is contained in:
Vladimir Mihailenco
2017-07-01 12:51:06 +03:00
parent efdbb32da3
commit 9dbcc5ae80
4 changed files with 62 additions and 7 deletions

View File

@ -8,8 +8,6 @@ import (
"sync/atomic"
"time"
"go4.org/syncutil"
"github.com/go-redis/redis/internal"
"github.com/go-redis/redis/internal/hashtag"
"github.com/go-redis/redis/internal/pool"
@ -347,7 +345,7 @@ type ClusterClient struct {
nodes *clusterNodes
_state atomic.Value
cmdsInfoOnce syncutil.Once
cmdsInfoOnce internal.Once
cmdsInfo map[string]*CommandInfo
// Reports where slots reloading is in progress.