#nickdnk-webhook-duplicate

1 messages · Page 1 of 1 (latest)

steady hornet
#

Hey @storm star

storm star
#

Hey. I found it under Webhooks -> Events. Butr searching for it in general did not work.

#

I still can't figure out the duplication though, but I think that's on my end

steady hornet
#

searching for Event ids in the Dashboard has never worked

storm star
#

Alright

steady hornet
#

and on our end we only delivered that Event once

#

sometimes we can replay events, but it didn't happen here

storm star
#

Somehow my environment processes this webhook twice, and I cannot figure out why. I created a test locally where I spam my API with the same event and that works fine.

#

Yeah I'm sure it's on my end

steady hornet
#

strange

storm star
#

Very. I use mysql to "lock" the row based on event ID, so that it will wait if two requests for the same event come in at the same time; the second select being blocked until the first completes, in which case the second select will get a value of "completed" and discard the job

#

But apparently it's not working

#

Back to the drawing board I guess