| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…an INT4 (32-bit signed integer. ## Solução Após analise dos valores recebidos e seguindo a logica em outras partes também, se confirma que o valor de entrada é de timestamp em ms.
## Erros: - code: "40P01", message: "deadlock detected". - Argument status is missing.
## Erros: - Cannot read properties of null (reading 'fileName')
Reviewer's GuideThis PR implements an in-memory deduplication cache across WhatsApp message workflows to prevent simultaneous processing deadlocks, standardizes timestamp values by converting from milliseconds to seconds, and restructures message handling to avoid inserting undefined values, while also refining the Chatwoot import helper and adjusting logging behavior. File-Level Changes
Tips and commands Interacting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Sorry, something went wrong.
|
@DavidsonGomes Esses problemas vim detectando em um cliente com mais de 10 instancias/ 20 mil msgs desde Abril e vim aplicando na 2.2.3 e testando. Também apliquei em um cliente com mais de 5 mil msgs por dia. |
Sorry, something went wrong.
There was a problem hiding this comment.
Hey @KokeroO - I've reviewed your changes - here's some feedback:
Sorry, something went wrong.
There was a problem hiding this comment.
Hey @KokeroO - I've reviewed your changes and they look great!
Here's what I looked at during the review
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Descrição
Este PR corrige diversos problemas relacionados a deadlocks causados por mensagens upsert e update que chegam duplicadas e são processadas simultaneamente pelo script, resultando em conflitos no banco de dados.
Também soluciona falhas ao tentar inserir determinados valores no banco.
Soluções
Summary by Sourcery
Implement in-memory caching to prevent deadlocks from duplicate message processing, convert timestamps to seconds, and enforce null-safe handling of message types and payloads in WhatsApp and Chatwoot integrations
Bug Fixes:
Enhancements: