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 messages not received: error handling when updating contact #228

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

raimartinsb
Copy link
Contributor

It was observed that not all messages arrived on Chatwoot, I carried out stress tests on the computer to simulate and correct it.

When our server was overloaded, some messages did not arrive on Chatwoot, when looking at the logs and code, we noticed that when Evolution Api receives a message, the contact's profile photo is updated to Chatwoot, if for some reason it fails this PATCH, the evolution API did not continue with the message, I made a treatment so that if this happens, the "contact" object does not become null.
As a result, messages were no longer lost.

@DavidsonGomes DavidsonGomes merged commit e02a28f into EvolutionAPI:develop Nov 29, 2023
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