Currently when loading a large file 2GB (55 million rows) to postgres, we use this:
Then afterwards, we change it back to false, and run refresh calc fields on the types we know to have changed.
The reason this needs to be done is because two other types have reference array fields doing a sum, and when rows are added, it starts backing up the changelog and calcfield queues massively and doesn’t perform well. Whereas running these calcs once at the end performs very well.
So the question is. Can we disable async processing for one canonical or type? So we dont have to do this switch.