Change Shard to use safe_find_or_create_by
Using this method allows us to benefit from a recent optimization where the transaction is skipped in the most common scenario where the record is found on the first attempt
Showing
Please register or sign in to comment