Closed yidongw closed 1 year ago
Thanks for reporting!
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.
Any update?
Close due to inactivity
I'm logging data with onHit.
I saw onHit being called with keyA and the result was dataA, sometime later I saw onHit being called again with keyA, but with result dataB.
I also was logging the storage set function and saw it is not being called in between the above two onHits.
dataA looks correct, but in order to get dataB, I have to add an extra query param which I didn't do in my codebase.
There are two problems here.
How is this possible? How can I debug it to find where is the problem?
I'm using memory as cache, but I'm going to try redis and see if that solves the problem
EDIT: This problem doesn't happen in redis