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

关于连接超时问题。connectTimeout #450

Open hxx449563090 opened 2 years ago

hxx449563090 commented 2 years ago

配置文件设置了连接超时,实际执行时感觉没有按照超时时间抛异常。请问下是什么问题? "ConnString": "10.252.251.126:6379,defaultDatabase=0,password=L3-vtwL*LLd?,UEX7M_3P7$chV$PK?qg0iMuQhmk#Aj#fYLmwG,connectTimeout=2000"。 查看源码发现都没到判断超时时间的方法。 image