# HG changeset patch # User bsw # Date 1427223750 -3600 # Node ID 112a3add1637b6eb05f8ce80b8b140d6d810a108 # Parent 3b00c08a6b90cd225759ce367f7d72cca2d0aad7 Pass memory_limit configuration to listen() and changed max fork limit to 128 diff -r 3b00c08a6b90 -r 112a3add1637 app/main/_prefork/10_init.lua --- a/app/main/_prefork/10_init.lua Tue Mar 24 19:34:03 2015 +0100 +++ b/app/main/_prefork/10_init.lua Tue Mar 24 20:02:30 2015 +0100 @@ -11,7 +11,7 @@ end if config.fork.max == nil then - config.fork.max = 8 + config.fork.max = 128 end if config.fork.delay == nil then @@ -46,6 +46,7 @@ fork_error_delay = config.fork.error_delay, exit_delay = config.fork.exit_delay, idle_timeout = config.fork.idle_timeout, + memory_limit = config.fork.memory_limit, min_requests_per_fork = config.fork.min_requests, max_requests_per_fork = config.fork.max_requests, http_options = config.http_options