We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should cache the user on the first call to auth.GetUser. One possible key would be the user id.
Cache invalidation should occur when a user updated message is consumed. the updated user should then be stored in the cache.
https://github.com/safe-distance/spatium-infra/blob/d19a3de76935afab7efddcfc14776af88f7baecf/auth/auth.go#L54
The text was updated successfully, but these errors were encountered:
mattbonnell
No branches or pull requests
General
We should cache the user on the first call to auth.GetUser.
One possible key would be the user id.
Cache invalidation
Cache invalidation should occur when a user updated message is consumed. the updated user should then be stored in the cache.
https://github.com/safe-distance/spatium-infra/blob/d19a3de76935afab7efddcfc14776af88f7baecf/auth/auth.go#L54
The text was updated successfully, but these errors were encountered: