Skip to content
  • root's avatar
    Fix: List::load() does call check_param_constraint(). This is not required;... · 871b3796
    root authored
    Fix: List::load() does call check_param_constraint(). This is not required; 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
    871b3796