heartbeat_interval => $ENV{MOJO_HEARTBEAT_INTERVAL} // 10,
heartbeat_timeout => $ENV{MOJO_HEARTBEAT_TIMEOUT} // 120,
inactivity_timeout => $ENV{MOJO_INACTIVITY_TIMEOUT} // 120,
- workers => $ENV{MOJO_WORKERS} // 15,
- clients => $ENV{MOJO_CLIENTS} // 10,
- spare => $ENV{MOJO_SPARE} // 5,
+ workers => $ENV{MOJO_WORKERS} // 1,
+ clients => $ENV{MOJO_CLIENTS} // 200,
+ spare => $ENV{MOJO_SPARE} // 1,
listen => [$ENV{MOJO_LISTEN} // 'http://*:3000'],
},
);
that high concurrency works best with applications that perform mostly
non-blocking operations, to optimize for blocking operations you can decrease
this value and increase "MOJO_WORKERS" instead for better performance.
- Default: 10
+ Default: 200
BUGZILLA_UNSAFE_AUTH_DELEGATION
This should never be set in production. It allows auth delegation over http.