Only UPDATE readStatus if it changed #491
Loading…
x
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.