NREL / OpenStudio-server

The OpenStudio Server is a docker or Helm deployable instance which allows for large-scale parametric analyses of building energy models using the OpenStudio or URBANopt CLIs.
http://www.openstudio.net/
Other
45 stars 20 forks source link

Add envs for rails passenger vars #679

Closed tijcolem closed 1 year ago

tijcolem commented 1 year ago

Add support to pass in the following envs to web node to adjust these vars at runtime.

MAX_REQUESTS (passenger_max_pool_size) MAX_POOL (passenger_pool_idle_time)

Also change the defaults to the suggested as these are needed to support algorithmic runs and 503 errors can result if the queue is not large enough.

passenger_max_request_queue_size 111; passenger_max_pool_size 21;

tijcolem commented 1 year ago

Transferred to https://github.com/NREL/openstudio-server-helm/issues/39