Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring Patroni REST API request queue size #867

Merged
merged 1 commit into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions automation/roles/patroni/templates/patroni.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ restapi:
# username: username
# password: password
{% endif %}
{% if patroni_restapi_request_queue_size is defined %}
request_queue_size: {{ patroni_restapi_request_queue_size |int }}
{% endif %}

{% if dcs_type == 'etcd' %}
etcd3:
Expand Down
1 change: 1 addition & 0 deletions automation/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ patroni_restapi_listen_addr: "0.0.0.0" # Listen on all interfaces. Or use "{{ in
patroni_restapi_port: 8008
patroni_restapi_username: "patroni"
patroni_restapi_password: "" # If not defined, a password will be generated automatically during deployment.
patroni_restapi_request_queue_size: 5
patroni_ttl: 30
patroni_loop_wait: 10
patroni_retry_timeout: 10
Expand Down
Loading