We're seeing mysql locks with the current method of wrapping a day's update in a transaction. We can safely remove the transaction block as if an error occurs we need to rollback (which deletes all the added records) anyway.
This PR also speeds up a couple of specs which were taking a very long time.
We're seeing mysql locks with the current method of wrapping a day's update in a transaction. We can safely remove the transaction block as if an error occurs we need to rollback (which deletes all the added records) anyway.
This PR also speeds up a couple of specs which were taking a very long time.