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

reset failed flag before sending retry messages #167

Merged

Conversation

listestalo
Copy link

@listestalo listestalo commented Nov 24, 2021

TL;DR: the error flag in Communicator never gets set back to false after it has been to to true

We've encountered some rare cases where...

  • the charge-point has been offline
  • the central-system responded with some kind of error
  • now the client tries to resend non-send-messages via RetryRunner but will never "pop the message" (see code) so it will send the same message again and again

@TVolden
Copy link
Member

TVolden commented Nov 24, 2021

Hi @listestalo,

Thanks for your contributions. I'll try to review and merge them today.

@TVolden TVolden merged commit 6d88425 into ChargeTimeEU:master Nov 24, 2021
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