Skip to content

Commit 9bbfa17

Browse files
aiden.makevwan
aiden.ma
authored andcommitted
feat: add redis bigkey hook
1 parent 284f382 commit 9bbfa17

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

core/stores/redis/bigkeyhook.go

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"time"
88

99
red "github.com/redis/go-redis/v9"
10-
1110
"github.com/zeromicro/go-zero/core/logc"
1211
"github.com/zeromicro/go-zero/core/logx"
1312
"github.com/zeromicro/go-zero/core/mapping"

core/stores/redis/bigkeyhook_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88

99
"github.com/alicebob/miniredis/v2"
1010
"github.com/stretchr/testify/assert"
11-
1211
"github.com/zeromicro/go-zero/core/logx"
1312
)
1413

core/stores/redis/redis.go

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"time"
99

1010
red "github.com/redis/go-redis/v9"
11-
1211
"github.com/zeromicro/go-zero/core/breaker"
1312
"github.com/zeromicro/go-zero/core/errorx"
1413
"github.com/zeromicro/go-zero/core/logx"

core/stores/redis/redisclustermanager.go

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"strings"
88

99
red "github.com/redis/go-redis/v9"
10-
1110
"github.com/zeromicro/go-zero/core/syncx"
1211
)
1312

0 commit comments

Comments
 (0)