You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll zap something, the bolt will change color and the sat amount with update, then the bolt will unchange color and the sat amount will un-update. If I navigate around and come back to the item, the zap will be and appear successful.
This happens pretty fast so I suspect the cache is getting updated with the pre-zap values for some reason.
The text was updated successfully, but these errors were encountered:
It looks like cache.modify takes an optimistic option which makes it update optimistic caches in addition to the "main" cache. I think that might be the fix for this.
This happens to me once or twice per day in prod.
I'll zap something, the bolt will change color and the sat amount with update, then the bolt will unchange color and the sat amount will un-update. If I navigate around and come back to the item, the zap will be and appear successful.
This happens pretty fast so I suspect the cache is getting updated with the pre-zap values for some reason.
The text was updated successfully, but these errors were encountered: