claudiunicolaa / im-distributed-cache

Another in-memory distributed cache
0 stars 0 forks source link

Use only once goroutine for removing expired keys #4

Closed claudiunicolaa closed 1 month ago

claudiunicolaa commented 2 months ago

time.AfterFunc creates a new goroutine for each key from cache.

claudiunicolaa commented 1 month ago

time.AfterFunc is slow