Skip to content
New issue

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

[feature] - cache learn and earn #862

Merged
merged 3 commits into from
Sep 6, 2023
Merged

Conversation

dev-jotape
Copy link
Collaborator

This PR fixes #gh-issue-number

Changes

Cache GET endpoints from L&E and clean when the user interacts with the lessons or when the webhook is trigged

Tests

@sonarcloud
Copy link

sonarcloud bot commented Sep 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@vibern0
Copy link
Contributor

vibern0 commented Sep 6, 2023

refactored to clean cache on services rather than endpoints. Also, cache using userid instead of ip requesting (it breaks if multiple users use the same device + we don't want to use ip's)

@vibern0 vibern0 merged commit d1e612a into main Sep 6, 2023
3 checks passed
@vibern0 vibern0 deleted the feature/cache-learn-and-earn branch September 6, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants