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

feat 增加获取锁间隔 #511

Closed panjonsen closed 4 months ago

panjonsen commented 4 months ago
csredis.Lock("asd", 11, true);    

lock内部的获取锁 没有间隔 需要增加