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

Send only updated posts to C-3PO to reduce traffic + load + Spotify API calls (from C-3PO) #12

Open
ghostwriternr opened this issue Sep 26, 2020 · 0 comments
Labels
enhancement New feature or request Hacktoberfest This issue counts towards Hacktoberfest contributions

Comments

@ghostwriternr
Copy link
Member

Currently, every post fetched from Facebook (limited by a threshold) is marked as isParsed=false for the dispatcher to send to C-3PO. This increases the load on C-3PO and generates unnecessary API calls to Spotify. Remove this by verifying if a post is updated by checking the necessary fields on R2-D2 and marking isParsed=false only if these field values have updated.

@ghostwriternr ghostwriternr added bug Something isn't working enhancement New feature or request Hacktoberfest This issue counts towards Hacktoberfest contributions and removed bug Something isn't working labels Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest This issue counts towards Hacktoberfest contributions
Projects
None yet
Development

No branches or pull requests

1 participant