1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +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

@ -9,8 +9,6 @@ import (
"sync/atomic"
"time"
"go4.org/syncutil"
"github.com/go-redis/redis/internal"
"github.com/go-redis/redis/internal/consistenthash"
"github.com/go-redis/redis/internal/hashtag"
@ -136,7 +134,7 @@ type Ring struct {
hash *consistenthash.Map
shards map[string]*ringShard
cmdsInfoOnce syncutil.Once
cmdsInfoOnce internal.Once
cmdsInfo map[string]*CommandInfo
closed bool