Unverified Commit c257b463 by Ned Batchelder Committed by GitHub

Merge pull request #4312 from open-craft/uman/configurable-poll

Add config for the certificate agent queue polling frequency.
parents a56ce79d ef952e2d
- Role: certs
- Added `CERTS_QUEUE_POLL_FREQUENCY` to make configurable the certificate agent's queue polling frequency.
- Role: edxapp - Role: edxapp
- Added `RETIREMENT_STATES` to generic_env_config to support making the retirement workflow configurable. - Added `RETIREMENT_STATES` to generic_env_config to support making the retirement workflow configurable.
......
...@@ -53,6 +53,9 @@ CERTS_TEMPLATE_DATA_DIR: 'template_data' ...@@ -53,6 +53,9 @@ CERTS_TEMPLATE_DATA_DIR: 'template_data'
# gpg --export-ownertrust # gpg --export-ownertrust
CERTS_OWNER_TRUST: "A9F9EAD11A0A6E7E5A037BDC044089B6FEF8D954:6:\n" CERTS_OWNER_TRUST: "A9F9EAD11A0A6E7E5A037BDC044089B6FEF8D954:6:\n"
# This is how long in seconds the cert agent will sleep before polling the queue again.
CERTS_QUEUE_POLL_FREQUENCY: 5
########## Internal role vars below ########## Internal role vars below
certs_user: certs certs_user: certs
...@@ -72,6 +75,7 @@ certs_env_config: ...@@ -72,6 +75,7 @@ certs_env_config:
CERT_DATA: {} CERT_DATA: {}
QUEUE_NAME: "certificates" QUEUE_NAME: "certificates"
QUEUE_URL: "{{ CERTS_QUEUE_URL }}" QUEUE_URL: "{{ CERTS_QUEUE_URL }}"
QUEUE_POLL_FREQUENCY: "{{ CERTS_QUEUE_POLL_FREQUENCY }}"
CERT_BUCKET: "{{ CERTS_BUCKET }}" CERT_BUCKET: "{{ CERTS_BUCKET }}"
# gnupg signing key # gnupg signing key
CERT_KEY_ID: "{{ CERTS_KEY_ID }}" CERT_KEY_ID: "{{ CERTS_KEY_ID }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment