You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that when running with transactions enabled, the semantics of dry_run changes. This means that in preview mode it will potentially start doing all kinds of crazy database stuff, only to rollback the transaction in case the user doesn't confirm the changes. For our app with a rather complicated save, this makes preview 10 times slower than it should be.
The following patch reverts so that dry_run can be used with transactions as well:
It appears that when running with transactions enabled, the semantics of dry_run changes. This means that in preview mode it will potentially start doing all kinds of crazy database stuff, only to rollback the transaction in case the user doesn't confirm the changes. For our app with a rather complicated save, this makes preview 10 times slower than it should be.
The following patch reverts so that dry_run can be used with transactions as well:
arj03@528ca8f
I don't see why we can't both have transactions and dry_run, they should be orthogonal.
The text was updated successfully, but these errors were encountered: