Two webhooks, one millisecond, two duplicate contacts: fixing a race with SELECT … FOR UPDATE
Our telephony provider sends two webhooks at the end of every call: one when the call ends, one a few moments later when the post-call analysis is ready. Most of the time they arrive seconds apart. So
