stas 2003/12/14 18:50:22
Modified: lib/ModPerl TestRun.pm . Changes Log: MaxClients is now overridable from the t/TEST -maxclients command line option (it was hardcoded before). Revision Changes Path 1.15 +1 -1 modperl-2.0/lib/ModPerl/TestRun.pm Index: TestRun.pm =================================================================== RCS file: /home/cvs/modperl-2.0/lib/ModPerl/TestRun.pm,v retrieving revision 1.14 retrieving revision 1.15 diff -u -u -r1.14 -r1.15 --- TestRun.pm 12 Dec 2003 05:43:57 -0000 1.14 +++ TestRun.pm 15 Dec 2003 02:50:22 -0000 1.15 @@ -21,7 +21,7 @@ $self->{conf_opts}->{startup_timeout} = $build->mpm_is_threaded() ? 180 : 120; - $self->{conf_opts}->{maxclients} = MIN_MAXCLIENTS; + $self->{conf_opts}->{maxclients} ||= MIN_MAXCLIENTS; ModPerl::TestConfig->new($self->{conf_opts}); } 1.280 +3 -0 modperl-2.0/Changes Index: Changes =================================================================== RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.279 retrieving revision 1.280 diff -u -u -r1.279 -r1.280 --- Changes 13 Dec 2003 23:40:31 -0000 1.279 +++ Changes 15 Dec 2003 02:50:22 -0000 1.280 @@ -12,6 +12,9 @@ =item 1.99_12-dev +MaxClients is now overridable from the t/TEST -maxclients command line +option (it was hardcoded before). [Stas] + Postpone the allocation of the wbucket in filters till the moment it's needed (if at all). Since non-streaming filters aren't going to use that buffer, it's a waste to allocate/free it. [Stas]