mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
Also acquire a transaction per link instead of failing when any of the links can't be processed. This prevents ActiveRecord from rolling back the transaction and the next SQL statement sent to PG will fail. This is however hard to test as it only happens when there are two competing process trying to process this method at the same time.