Skip to content

ZMS-215: fix incorrect existsEntries and removeEntries clearing in updateMessage()#803

Merged
NickOvt merged 2 commits intomasterfrom
ZMS-215
Apr 7, 2025
Merged

ZMS-215: fix incorrect existsEntries and removeEntries clearing in updateMessage()#803
NickOvt merged 2 commits intomasterfrom
ZMS-215

Conversation

@NickOvt
Copy link
Copy Markdown
Contributor

@NickOvt NickOvt commented Apr 7, 2025

Fix incorrect existsEntries and removeEntries clearing in updateMessage()
in message-handler.js.
Incorrect clearing (clearing was not happening at all) caused the entries to pile
up and the addEntries() method to incorrectly insert the journal entries one by
one, causing a huge spike in DB Inserts.
This PR fixes the issue.

@NickOvt NickOvt requested a review from andris9 April 7, 2025 07:43
@NickOvt NickOvt self-assigned this Apr 7, 2025
@NickOvt NickOvt merged commit f0f35e1 into master Apr 7, 2025
6 checks passed
@NickOvt NickOvt deleted the ZMS-215 branch April 7, 2025 08:40
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