Module: PhusionPassenger::SharedConstants

Defined in:
lib/phusion_passenger/constants.rb

Overview

Constants shared between the C++ and Ruby codebase. The C++ Constants.h is automatically generated by the build system from the following definitions.

Constant Summary collapse

DEFAULT_LOG_LEVEL =

Default config values

0
DEFAULT_RUBY =
"ruby"
DEFAULT_PYTHON =
"python"
DEFAULT_NODEJS =
"node"
DEFAULT_MAX_POOL_SIZE =
6
DEFAULT_POOL_IDLE_TIME =
300
DEFAULT_START_TIMEOUT =
90_000
DEFAULT_MAX_INSTANCES_PER_APP =
0
DEFAULT_WEB_APP_USER =
"nobody"
DEFAULT_CONCURRENCY_MODEL =
"process"
DEFAULT_THREAD_COUNT =
1
DEFAULT_ANALYTICS_LOG_USER =
DEFAULT_WEB_APP_USER
DEFAULT_ANALYTICS_LOG_GROUP =
""
DEFAULT_ANALYTICS_LOG_PERMISSIONS =
"u=rwx,g=rx,o=rx"
DEFAULT_UNION_STATION_GATEWAY_ADDRESS =
"gateway.unionstationapp.com"
DEFAULT_UNION_STATION_GATEWAY_PORT =
443
MESSAGE_SERVER_MAX_USERNAME_SIZE =

Size limits

100
MESSAGE_SERVER_MAX_PASSWORD_SIZE =
100
POOL_HELPER_THREAD_STACK_SIZE =
1024 * 256
PROCESS_SHUTDOWN_TIMEOUT =

Time limits

60
PROCESS_SHUTDOWN_TIMEOUT_DISPLAY =

In seconds

"1 minute"
PASSENGER_VERSION =

Versions

PhusionPassenger::VERSION_STRING
SERVER_INSTANCE_DIR_STRUCTURE_MAJOR_VERSION =
1
SERVER_INSTANCE_DIR_STRUCTURE_MINOR_VERSION =
0
SERVER_INSTANCE_DIR_GENERATION_STRUCTURE_MAJOR_VERSION =
2
SERVER_INSTANCE_DIR_GENERATION_STRUCTURE_MINOR_VERSION =
0
FEEDBACK_FD =

Misc

3
PROGRAM_NAME =
"Phusion Passenger"
INDEX_DOC_URL =
"http://www.modrails.com/documentation/Users%20guide.html"
APACHE2_DOC_URL =
"http://www.modrails.com/documentation/Users%20guide%20Apache.html"
NGINX_DOC_URL =
"http://www.modrails.com/documentation/Users%20guide%20Nginx.html"
STANDALONE_DOC_URL =
"http://www.modrails.com/documentation/Users%20guide%20Standalone.html"
SUPPORT_URL =
"http://www.phusionpassenger.com/support"
STANDALONE_NGINX_CONFIGURE_OPTIONS =
"--with-cc-opt='-Wno-error' " <<
"--without-http_fastcgi_module " <<
"--without-http_scgi_module " <<
"--without-http_uwsgi_module " <<
"--with-http_gzip_static_module " <<
"--with-http_stub_status_module " <<
"--with-http_ssl_module"