Updating all rows inside Proposals is causing unnecessary load, and potentially leading to issues with executing other actions.
Also, we are currently experiencing more issues with timeouts, and all seem to be pointing towards heavy queries where we have not improved how we approach them.
Towards a solution:
In many cases there are optimizations that we can do, however we need to keep it manageable.
Add a sleep or throttle of some sort to reduce load.
Perhaps, only process individual projects that are submitting deliverables.
Problem:
Updating all rows inside Proposals is causing unnecessary load, and potentially leading to issues with executing other actions. Also, we are currently experiencing more issues with timeouts, and all seem to be pointing towards heavy queries where we have not improved how we approach them.
Towards a solution:
In many cases there are optimizations that we can do, however we need to keep it manageable.
Constraint. KISS. Focus on migration to Mongo.