From 4fd4c7a1e8194287249fa59252afc2cd260d5643 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 10 Jun 2018 17:53:13 +0300 Subject: rr is working now --- cmd/rr/.rr.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'cmd/rr/.rr.yaml') diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml index b7da7fac..34475da7 100644 --- a/cmd/rr/.rr.yaml +++ b/cmd/rr/.rr.yaml @@ -25,7 +25,7 @@ http: # http worker pool configuration. workers: # php worker command. - command: "php /Users/wolfy-j/Projects/phpapp/webroot/index.php rr pipes --no-ansi" + command: "php c:/GoProj/phpapp/webroot/index.php rr pipes --no-ansi" # connection method (pipes, tcp://:9000, unix://socket.unix). relay: "pipes" @@ -33,26 +33,24 @@ http: # worker pool configuration. pool: # number of workers to be serving. - numWorkers: 1 + numWorkers: 2 # maximum jobs per worker, 0 - unlimited. maxJobs: 0 - # worker allocation timeouts. - timeouts: - # for how long worker is allowed to be bootstrapped. - allocateTimeout: 6000000 + # for how long worker is allowed to be bootstrapped. + allocateTimeout: 6000000 - # amount of time given to worker to gracefully destruct itself. - destroyTimeout: 6000000 + # amount of time given to worker to gracefully destruct itself. + destroyTimeout: 6000000 # static file serving. static: # serve http static files enable: true - # root directory for static file (http would not serve .php and .htacess files). - dir: "/Users/wolfy-j/Projects/phpapp/webroot" + # root directory for static file (http would not serve .php and .htaccess files). + dir: "c:/GoProj/phpapp/webroot" # list of extensions for forbid for serving. forbid: [".php", ".htaccess"] \ No newline at end of file -- cgit v1.2.3