StackExchange / StackExchange.Redis

General purpose redis client
https://stackexchange.github.io/StackExchange.Redis/
Other
5.88k stars 1.51k forks source link

HashKey cannot get value #2598

Closed Tony-Peteryu closed 10 months ago

Tony-Peteryu commented 10 months ago

By using synchronous hashkeys, corresponding data keys can be obtained, but cannot be obtained after being modified to asynchronous. At the same time, after setting the minimum number of threads in the thread pool, there may be occasional situations where synchronized hashkeys cannot obtain values

Stackexchange.Redis 2.0.513

Example: 1、can get datakey

hashkeys(string key)

2、can't get datakey

hashkeysAsync(string key)

3、can't get datakey

ThreadPool.SetMinThreads(20,20) hashkeys(string key)