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

Invalidate movie ratings after a thresold #69

Closed
jayrambhia opened this issue Sep 29, 2018 · 1 comment
Closed

Invalidate movie ratings after a thresold #69

jayrambhia opened this issue Sep 29, 2018 · 1 comment

Comments

@jayrambhia
Copy link
Owner

Is your feature request related to a problem? Please describe.
Some times the server returns incorrect ratings (because of title collisions) and even if the correct rating is available at a later point, the app never requests the rating again. So the app shows incorrect rating to the user.

Describe the solution you'd like
We already have a timestamp column in the database table MOVIE_RATINGS. The app is not using at this time, but we can start adding the timestamp when the rating is fetched. We can have a threshold of 2 weeks and the if the app requests the rating after 2 weeks, it would check the timestamp and get the rating online.

Additional context
This would potentially increase in the app sending more requests to the server, but we can consider it as marginal since the threshold is 2 weeks. This would also help getting better trending movies.

@jayrambhia jayrambhia added this to To Do in Features via automation Sep 29, 2018
jayrambhia added a commit that referenced this issue Oct 7, 2018
If the entry in Db is older than 2 weeks, it will get the new ratings
@jayrambhia
Copy link
Owner Author

Threshold of 2 weeks added.

Features automation moved this from To Do to Done Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Features
  
Done
Development

No branches or pull requests

1 participant