Created
June 25, 2010 09:00
-
-
Save plu/452623 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/FCGI/Engine/Core.pm b/lib/FCGI/Engine/Core.pm | |
index 19bb392..c58b76d 100644 | |
--- a/lib/FCGI/Engine/Core.pm | |
+++ b/lib/FCGI/Engine/Core.pm | |
@@ -173,6 +173,10 @@ sub run { | |
$proc_manager->manage; | |
} | |
+ elsif ( $self->nproc > 1 ) { | |
+ $proc_manager = $self->create_proc_manager( %addtional_options ); | |
+ $proc_manager->manage; | |
+ } | |
while ($request->Accept() >= 0) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment