Open
Description
Currently, the cache doesn't evict an object when the expiration of that object passes but rather waits until the next Get()
call before evicting it. This is problematic when the object in the cache has connections/goroutines/etc. that should be closed when not in use. I propose restructuring the expiration code such that it evicts the object upon expiration rather than waiting for a subsequent Get()
call.
Metadata
Metadata
Assignees
Labels
No labels