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
Migrated issue, originally created by Fabian Neumann (hellp)
I have a redis backend region that per default has no expiration_time set. Instead I manually set it on each call to region.get_or_create -- depending on some business logic.
In some cases I don't want the cached value to expire at all, so I pass the keyword argument expiration_time=-1. get_or_create still calls the creator function in these cases, which, if I understand it correctly, should not be the case, right? The value is already in the Redis db.
The text was updated successfully, but these errors were encountered:
Migrated issue, originally created by Fabian Neumann (hellp)
I have a redis backend region that per default has no expiration_time set. Instead I manually set it on each call to
region.get_or_create
-- depending on some business logic.In some cases I don't want the cached value to expire at all, so I pass the keyword argument
expiration_time=-1
.get_or_create
still calls the creator function in these cases, which, if I understand it correctly, should not be the case, right? The value is already in the Redis db.The text was updated successfully, but these errors were encountered: