OnEvicted is not called for every expired value
Author: VovkoOCreated Apr 2, 2024Updated Jul 3, 2024
When I try to get and overwrite a value that has already expired but has not yet been deleted from the cache, I get nil, overwrite it with fresh data, and the old data will not even get into the OnEvicted function
Source: patrickmn/go-cache