wordpress-webmention
wordpress-webmention copied to clipboard
Race condition causes duplicate comments for same webmention source + target
Hi @pfefferle, @dshanske! I got an interesting one just now: Bridgy Fed sent the same webmention (with same source
and target
) twice at almost the exact same time, within just ~10ms or so, and the plugin created two duplicate comments for it:
Looks like a race condition? I'm guessing you may want to add a lock or database transaction to prevent this.