Yeuoly
8380c1d6fa
fix(lock): Add concurrency test for Redis lock functionality ( #305 )
...
- Introduced a new test case `TestLock` to validate the behavior of the Redis locking mechanism under concurrent access.
- Enhanced the `Lock` function to improve error handling and ensure proper locking behavior.
- Utilized `sync.WaitGroup` and atomic operations to measure wait times during lock acquisition, ensuring the lock behaves as expected under high concurrency.
2025-05-23 14:39:37 +08:00
Zhi
6b112bc8b5
feat(redis): Add support for Redis Sentinel mode ( #276 )
...
* feat(redis): Add support for Redis Sentinel mode
Added support for Redis Sentinel mode to the Redis client, enabling automatic discovery and connection to the primary node through Sentinel. Updated relevant configuration files and initialization logic to support Sentinel mode configuration and connection.
* add lost RedisUser.
2025-05-20 14:23:01 +08:00
Taeyoung Park
5d83258371
Add optional Redis username authentication ( #218 )
...
* You can include username for Redis Auth
* Redis auth with username - test code update
* fix: tests
---------
Co-authored-by: Yeuoly <admin@srmxy.cn >
2025-04-25 20:42:14 +08:00
非法操作
25e013618a
fix self.session.delete alway success ( #12 )
...
* fix self.session.delete alway success
* fix save data always failed
* redis delete response deleted item num
* add deleted num to invocate response
2025-04-11 13:32:52 +08:00
Yeuoly
b5fefd1a99
Merge pull request #152 from quicksandznzn/add-redis-db-config
...
optimize: add redis db config
2025-03-30 21:10:27 +09:00
zxfishhack
5cfd484cff
Add get/delete implement, from internal use.
2025-03-27 17:02:21 +08:00
quicksandzn
b50a0c4403
optimize: add redis db config
2025-03-27 14:48:59 +08:00
zxfishhack
7d8a655ef6
BUGFIX: fix AutoGetWithGetter will never hit cache issue.
2025-03-24 17:02:28 +08:00
Yeuoly
324cea6c2b
fix: improve Redis subscription error handling with logging and retry ( #84 )
2025-03-10 13:43:04 +08:00
Yeuoly
541050b9da
refactor: update Redis cache SetNX method to use CBOR encoding
2025-02-25 23:12:05 +08:00
Yeuoly
2dc8f0c01d
fix: improve Redis cache Get method for CBOR decoding
2025-02-25 22:45:06 +08:00
Yeuoly
6d63795993
refactor: switch Redis cache from JSON to CBOR encoding
2025-02-25 22:40:47 +08:00
Yeuoly
b19140ca23
refactor: optimize plugin declaration caching and encoding ( #34 )
2025-02-25 20:52:51 +08:00
Masashi Tomooka
c6c882e86a
support REDIS_USE_SSL config parameter ( #21 )
...
* support REDIS_USE_SSL config parameter
* fix tests
* add tests
2025-01-30 00:32:38 +08:00
Yeuoly
26fd94ebcd
refactor: convert snakecase to camelcase
2024-11-12 21:24:41 +08:00
Yeuoly
6926e58717
fix: redis subcribe
2024-09-05 22:28:45 +08:00
Yeuoly
4ea1f0b6a2
feat: persistence
2024-08-28 23:06:28 +08:00
Yeuoly
873549528e
feat: implement persistence
2024-08-28 17:55:51 +08:00
Yeuoly
caa0b44a56
refactor: tests
2024-08-05 13:45:43 +08:00
Yeuoly
69c402fcea
feat: cluster lifetime management
2024-07-31 18:53:26 +08:00
Yeuoly
b2c4e5cd5f
feat: add redis scan hmap
2024-07-30 22:08:06 +08:00
Yeuoly
367cad55da
feat: cluster managment
2024-07-30 17:36:32 +08:00
Yeuoly
4df1d043ac
fix: backwards invocation
2024-07-29 15:26:40 +08:00
Yeuoly
57f56125b0
feat: connection keys
2024-07-26 17:10:02 +08:00
Yeuoly
c9dc8aadef
feat: invoke tool and models
2024-07-19 17:45:00 +08:00
Yeuoly
1af5a2ec11
feat: lifetime manager
2024-07-05 22:55:24 +08:00