Page MenuHomePhabricator

[keyserver] await INSERT INTO messages before calling postMessageSend
ClosedPublic

Authored by ashoat on Aug 1 2023, 10:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 6, 4:59 AM
Unknown Object (File)
Thu, Jan 2, 11:28 AM
Unknown Object (File)
Thu, Jan 2, 11:28 AM
Unknown Object (File)
Thu, Jan 2, 11:28 AM
Unknown Object (File)
Thu, Jan 2, 11:23 AM
Unknown Object (File)
Sat, Dec 28, 5:38 PM
Unknown Object (File)
Nov 15 2024, 4:07 AM
Unknown Object (File)
Nov 15 2024, 2:58 AM
Subscribers
None

Details

Summary

We want to check if there is a collision on the INSERT before calling postMessageSend in order to avoid creating duplicate notifs or UpdateInfos.

See ENG-4563 for more details.

Test Plan

I tested message creation to make sure it still works

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable