dotnetcore / EasyCaching

:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
MIT License
1.97k stars 325 forks source link

reids GetAllKeysByPrefixAsync 获取所有的键方法有问题 #522

Open SeaLee02 opened 8 months ago

SeaLee02 commented 8 months ago
//这里重复加了一遍
 if (!string.IsNullOrWhiteSpace(_options.DBConfig.KeyPrefix))
     prefix = _options.DBConfig.KeyPrefix + prefix;

配置里面的_options.DBConfig.KeyPrefix 不为空,查询的时候又加了一遍