2881099 / csredis

.NET Core or .NET Framework 4.0+ client for Redis and Redis Sentinel (2.8) and Cluster. Includes both synchronous and asynchronous clients.
MIT License
2.01k stars 414 forks source link

RedisHelper.Lock 中获取锁的间隔时间能增加一个参数(sleep)吗 #475

Open zczhi opened 1 year ago

zczhi commented 1 year ago

RedisHelper.Lock设置分布锁时,获取锁间隔写死的间隔时间3毫秒,这个值能封装成参数供使用者自定义吗?