IOptions<RedisCacheOptions> When change RedisCacheOptions I dont see new connection
Open
area-middleware
feature-caching
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Describe the bug
When change RedisCacheOptions RedisCache dont connect again on runtime because RedisCache is Singleton and Singleton objects uses IOptionsMonitor when configuration changes. I Think we must change IOptions to IOptionsMonitor and we must write IOptionsMonitor OnChange event
Contributor guide
Assessment
This issue has not been assessed yet.