{%- set max_workers = [_workers, 8]|max %}
{%- set max_reqs = ("__CONTROLLER_MAX_QUEUED_REQUESTS__" or 128)|int %}
{%- set database_host = ("__DATABASE_EXTERNAL_SERVICE_HOST_OR_IP__" or "__DATABASE_INT_IP__") %}
+{%- set database_name = "__DATABASE_NAME__" %}
+{%- set database_user = "__DATABASE_USER__" %}
+{%- set database_password = "__DATABASE_PASSWORD__" %}
# The variables commented out are the default values that the formula uses.
# The uncommented values are REQUIRED values. If you don't set them, running
database:
# max concurrent connections per arvados server daemon
# connection_pool_max: 32
- name: __CLUSTER___arvados
+ name: {{ database_name }}
host: {{ database_host }}
- password: "__DATABASE_PASSWORD__"
- user: __CLUSTER___arvados
+ password: {{ database_password }}
+ user: {{ database_user }}
encoding: en_US.utf8
client_encoding: UTF8
### API
API:
- MaxConcurrentRequests: {{ max_workers * 2 }}
+ MaxConcurrentRailsRequests: {{ max_workers * 2 }}
+ MaxConcurrentRequests: {{ max_reqs }}
MaxQueuedRequests: {{ max_reqs }}
### CONTAINERS
Bucket: __KEEP_AWS_S3_BUCKET__
IAMRole: __KEEP_AWS_IAM_ROLE__
Region: __KEEP_AWS_REGION__
+ # IMPORTANT: The default value for PrefixLength is 0, and should not
+ # be changed once the volume is in use. For new installations it's
+ # recommended to set it to 3 for better performance.
+ # See: https://doc.arvados.org/install/configure-s3-object-storage.html
+ PrefixLength: 3
Users:
NewUsersAreActive: true