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

fix: reduce force refreshing when not needed #153

Conversation

dahlb
Copy link
Contributor

@dahlb dahlb commented Nov 17, 2021

related to #151 this works for the USA kia to avoid calling and waiting to finish the force refresh endpoint since the action is known to have completed and the api has already cached that result. @cdnninja this will probably also work for the CA version but I didn't want to change the impl flag since I can't test it.

@dahlb dahlb requested a review from fuatakgun November 18, 2021 18:22
@dahlb
Copy link
Contributor Author

dahlb commented Nov 18, 2021

@fuatakgun given the restrictions you mentioned for force refreshes I'd like to get this merged soon so the USA users can stop hitting that endpoint a bunch of unneeded times, I've tested every action using this updated code and the results are always up to date since the USA impl waits until the actions are verified completed

@dahlb dahlb added bug Something isn't working USA labels Nov 19, 2021
@dahlb dahlb closed this Nov 23, 2021
@dahlb dahlb deleted the reduce_force_refreshing_when_not_needed branch April 6, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working USA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant