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 unnecessary DB access in add_list_member #615

Merged
merged 1 commit into from
May 24, 2019

Conversation

seblgr
Copy link
Contributor

@seblgr seblgr commented May 16, 2019

In add_list_member the value $current_list_members_count is discarded if max_list_member == 0 (default setting).
This prevents the "high db load" produced by the successive DB accesses.

In add_list_member the value $current_list_members_count is discarded if max_list_member == 0 (default setting).
This prevents the "high db load" produced by the successive DB accesses.
@ikedas ikedas merged commit 4be974c into sympa-community:sympa-6.2 May 24, 2019
@ikedas ikedas added this to the 6.2.44 milestone May 24, 2019
@ikedas
Copy link
Member

ikedas commented May 24, 2019

Merged. Thanks for improving Sympa!

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

Successfully merging this pull request may close these issues.

2 participants