4be84c3a6c
We had two problems here. First was how we were handling errors message from GetProjectSegmentUsage. We were always returning error, even for ErrKeyNotFound which should be used to refresh value in cache and not propagated out of method. Second, we were using wrong value to update cache. We used current value from cache which obviously it's not what we intend. Fixes https://github.com/storj/storj/issues/4389 Change-Id: I4d7ca7a1a0a119587db6a5041b44319102ef64f8 |
||
---|---|---|
.. | ||
live | ||
nodetally | ||
projectbwcleanup | ||
rollup | ||
rolluparchive | ||
tally | ||
billing_test.go | ||
bucketstats.go | ||
bucketusage.go | ||
common.go | ||
db_test.go | ||
db.go | ||
projectlimitcache_test.go | ||
projectlimitcache.go | ||
projectusage_test.go | ||
projectusage.go |