goburrow / cache

Mango Cache 🥭 - Partial implementation of Guava Cache in Go (golang).
BSD 3-Clause "New" or "Revised" License
580 stars 48 forks source link

Async refresh #15

Closed sanketpayghan-zz closed 5 years ago

nqv commented 5 years ago

Thanks for your PR. I'm wondering if it's possible to limit number of goroutines for refreshing data?

sanketpayghan-zz commented 5 years ago

@nqv Thanks for having look. Will work on that. Meanwhile I can not see any use refreshAfterWrite variable. Shall I add this to trigger refresh in loading cache?

sanketpayghan-zz commented 5 years ago

@nqv Please provide any suggestions or changes needs to be done.