I have issue connect redis. What is the solution to this problem?
CodePudding user response:
Because StackExchange.Redis uses a single thread, if a request takes too long, it will block subsequent requests, so it adds a request timeout limit.
Solution:
1.To replace the driver, you can try to use csredis:
https://github.com/2881099/csredis
2.The redis operation is modified to all asynchronous: