Only UPDATE readStatus if it changed #491
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-11-30#491
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "check_readstatus_before_update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
getInboxMessageByID
now lets you update the readStatus. This is 5-10x slower than a normal call because of the sql UPDATE. This really adds up when I usegetAllInboxMessageIDs
and then get each message individually for processing. We should only execute the update when the status actually changes.