Closed justlazydog closed 3 years ago
The result from load function is put into the cache asynchronously so the behavior is undefined. I will fix
Can you try with the latest version
go get github.com/goburrow/cache@11fdd18bd87be12f122996e918e2909ddc1480b2
Can you try with the latest version
go get github.com/goburrow/cache@11fdd18bd87be12f122996e918e2909ddc1480b2
Thanks, the latest version works fine
Output like this (expect value is always 1):