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
In this situation, maybe the {:error, _reason} isn't a good idea to keep it for one hour and we could keep it only for one minute or 5 seconds.
Maybe it could have something that rewrites the expiration previously to return so we could configure one hour for the OK case and five seconds for the error case.
The text was updated successfully, but these errors were encountered:
Could we configure different times for expiration depending on the kind of return?
I mean, if I have the following function:
In this situation, maybe the
{:error, _reason}
isn't a good idea to keep it for one hour and we could keep it only for one minute or 5 seconds.Maybe it could have something that rewrites the expiration previously to return so we could configure one hour for the OK case and five seconds for the error case.
The text was updated successfully, but these errors were encountered: