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

2 fixes related to list families #933

Merged

Conversation

salaun-urennes1
Copy link
Collaborator

One minor fix to handle errors when running sympa.pl --instantiate_family
The other is more important for us because it makes our Sympa GUI almost unusable because of horrible performances on global functions (/lists mainly).

root added 2 commits April 30, 2020 16:03
…s only one. Also did return status 0 wen we encoutered errors
…uired; check_param_constraint() only make sense when a family list gets re/instantiated. These calls are very expensive for institutions heavily using families. Our production list service has 2.500 lists; most of them belonging to a family. In these circumstances wwsympa.fcgi startup takes 3 minutes. Applying this patch lowers wwsympa.fcgi to 35 seconds. Much better. I did some tests to ensure this patch does not prevent param_constraint checking while instantiating, modifying, adding lists to families. My tests (based on Test::BDD::Cucumber) are public on https://github.com/salaun-urennes1/sympa-functional-tests
@ikedas ikedas merged commit e01d881 into sympa-community:sympa-6.2 May 12, 2020
@ikedas ikedas added this to the 6.2.56 milestone May 12, 2020
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