-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make "async" the default server model #81
Labels
Comments
First of all, I've created a branch named two so we can easily create more 2.X releases should they be necessary. |
The basic implementation is easy: diff --git a/src/main/php/xp/web/Runner.class.php b/src/main/php/xp/web/Runner.class.php
index 123c6de..75e732a 100755
--- a/src/main/php/xp/web/Runner.class.php
+++ b/src/main/php/xp/web/Runner.class.php
@@ -83,7 +83,7 @@ class Runner {
$docroot= new Path($webroot, 'static');
$address= 'localhost:8080';
$profile= getenv('SERVER_PROFILE') ?: 'dev';
- $mode= 'serve';
+ $mode= 'async';
$arguments= [];
$config= [];
$source= '.'; However, we should rename the serve mode to single or blocking, e.g. |
sequential"following one after another without others coming in between" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, we have the following server models:
pcntl
extension.This issue suggests making async the new default for the next major release - version 3.0.0 at the time of writing.
The text was updated successfully, but these errors were encountered: