2881099 / FreeRedis

🦄 FreeRedis is .NET40+ redis client. supports cluster, sentinel, master-slave, pub-sub, lua, pipeline, transaction, streams, redisearch, client-side-caching, and pooling.
MIT License
925 stars 166 forks source link

BUG: SetNxAsync 高并发情况下, timeoutSecond会被初始化为-1 #194

Open aetforviolet opened 4 months ago

aetforviolet commented 4 months ago

BUG: SetNxAsync 高并发情况下, timeoutSecond会被初始化为-1 for(var i=0,i<10,i++){ Task.Run(() => { await _FreeRedisService.Instance.SetNxAsync("1", 1,1); }); }

Cyaim commented 1 month ago

我也遇到这个问题,并行发生设置指令时出现

d4ilys commented 3 weeks ago

我们这边没有复现,请提供详细信息 Redis单机/集群 FreeRedis版本 具体Demo @aetforviolet @Cyaim