From 7b8d3e2c6a07ced1dd67ce6c20cfa18dcd3280b2 Mon Sep 17 00:00:00 2001 From: vinllen Date: Tue, 25 Jun 2019 22:05:57 +0800 Subject: [PATCH] polish --- src/redis-shake/common/split.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redis-shake/common/split.go b/src/redis-shake/common/split.go index 30d76d2..bbf53b2 100644 --- a/src/redis-shake/common/split.go +++ b/src/redis-shake/common/split.go @@ -18,7 +18,7 @@ func RestoreBigkey(client redigo.Conn, key string, value string, pttl int64, db Key: String2Bytes(key), Type: 0, // uselss Value: String2Bytes(value), - ExpireAt: 0, // useless here + ExpireAt: 0, // useless here RealMemberCount: 0, NeedReadLen: 1, IdleTime: 0, @@ -31,4 +31,4 @@ func RestoreBigkey(client redigo.Conn, key string, value string, pttl int64, db if _, err := client.Do("pexpire", key, pttl); err != nil { log.Panicf("send key[%v] pexpire failed[%v]", key, err) } -} \ No newline at end of file +}