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
Hi cabol! thanks so much for the work you've put into this. I've found a weird bug that i can't sort out. I have a Mutlilevel cache with Local and Dist adapters implemented, just the same as in your examples, but if i set a custom ttl on a record, when i get that record, the expire_at value gets overwritten to be something similar to desired_ttl - (DateTime.utc_now() |> DateTime.to_unix()) and happens again if i rapidly call get a second time, here's an example from the repl:
Hi cabol! thanks so much for the work you've put into this. I've found a weird bug that i can't sort out. I have a
Mutlilevel
cache withLocal
andDist
adapters implemented, just the same as in your examples, but if i set a customttl
on a record, when iget
that record, theexpire_at
value gets overwritten to be something similar todesired_ttl - (DateTime.utc_now() |> DateTime.to_unix())
and happens again if i rapidly callget
a second time, here's an example from the repl:also, i'm currently running 3 nodes which are all connected, and i just found this, which looks like it could be the culprit:
https://github.com/cabol/nebulex/blob/master/lib/nebulex/adapters/multilevel.ex#L417
The text was updated successfully, but these errors were encountered: