Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent provisioned account updates that have no effect #6308

Closed
Tracked by #5835
ChristophWurst opened this issue Apr 26, 2022 · 0 comments · Fixed by #6326
Closed
Tracked by #5835

Prevent provisioned account updates that have no effect #6308

ChristophWurst opened this issue Apr 26, 2022 · 0 comments · Fixed by #6326

Comments

@ChristophWurst
Copy link
Member

ChristophWurst commented Apr 26, 2022

Is your feature request related to a problem? Please describe.

It looks like we often update provisoined Mail accounts in the before controller middleware hook even if there are no changes. This slows down every Mail request a tiny bit.

Bildschirmfoto vom 2022-04-26 18-20-17

SQL: update oc_mail_accounts set provisioning_id = ? where id = ?

Describe the solution you'd like

Only update the account if necessary.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment