Commit Graph

21 Commits

Author SHA1 Message Date
Kevin Wan e9dc96af17 chore: coding style (#4082) 2024-04-17 23:37:35 +08:00
fearlessfei 62c88a84d1 feat: migrate lua script to lua file (#4069) 2024-04-17 15:20:10 +00:00
Kevin Wan 159ecb7386 chore: fix warnings (#3989) 2024-03-08 22:35:17 +08:00
Kevin Wan 45be48a4ee chore: coding style (#3959) 2024-03-02 22:45:24 +08:00
Kevin Wan 368caa7608 feat: upgrade go-redis to v9 (#3088)
Co-authored-by: cong <zhangcong1992@gmail.com>
2024-01-13 22:40:58 +08:00
cong 5da8a93c75 feat(redis): add ScriptRun API and migrate EvalCtx to ScriptRun for limit, lock and bloom (#3087) 2023-04-02 11:28:25 +08:00
Kevin Wan 91b8effb24 chore: refactor redislock (#2210)
* chore: refactor redislock

* chore: add more tests
2022-07-30 19:46:10 +08:00
cong 4879d4dfcd feat(redislock): support set context (#2208)
* feat(redislock): support set context

* chore: fix test
2022-07-30 18:38:36 +08:00
Kevin Wan 278cd123c8 feat: remove reentrance in redislock, timeout bug (#1704) 2022-03-24 16:17:01 +08:00
Kevin Wan 822ee2e1c5 feat: update go-redis to v8, support ctx in redis methods (#1507)
* feat: update go-redis to v8, support ctx in redis methods

* fix compile errors

* chore: remove unused const

* chore: add tracing log on redis
2022-02-09 11:06:06 +08:00
Kevin Wan a91c3907a8 feat: rename module from tal-tech to zeromicro (#1413) 2022-01-04 15:51:32 +08:00
Kevin Wan 8745ed9c61 chore: add 1s for tolerance in redislock (#1367) 2021-12-25 19:44:27 +08:00
种豆得豆 836726e710 fix redis try-lock bug (#1366)
#issue_id: 1338

Co-authored-by: zhangwei <>
2021-12-25 19:20:53 +08:00
Kevin Wan 4ccdf4ec72 chore: format code (#1327) 2021-12-15 13:43:05 +08:00
Kevin Wan 4f5c30e083 chore: remove unused const (#1224) 2021-11-10 21:45:42 +08:00
an 3a510a9138 chore: redislock use stringx.randn replace randomStr func (#1220) 2021-11-10 21:14:21 +08:00
Bo-Yi Wu afd9ff889e chore: update code format. (#628) 2021-04-15 19:49:17 +08:00
Kevin Wan c566b5ff82 fix golint issues in core/stores (#527) 2021-02-28 23:02:49 +08:00
Kevin Wan 5e969cbef0 fix golint issues, else blocks (#457) 2021-02-09 13:50:21 +08:00
kevin 0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kevin 7e3a369a8f initial import 2020-07-26 17:09:05 +08:00