From 1ef5101021f8b156284bd69557d2a281cf91e64f Mon Sep 17 00:00:00 2001 From: dhalimi Date: Mon, 6 Jan 2025 11:45:24 -0500 Subject: [PATCH 1/2] new flag maxProxyRetries --- openstack/cronus/templates/cronus/_config.yaml.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openstack/cronus/templates/cronus/_config.yaml.tpl b/openstack/cronus/templates/cronus/_config.yaml.tpl index 171635f2554..42789f5ccae 100644 --- a/openstack/cronus/templates/cronus/_config.yaml.tpl +++ b/openstack/cronus/templates/cronus/_config.yaml.tpl @@ -50,6 +50,9 @@ cronus: {{- if .Values.config.retry.maxConnectionRetries }} maxConnectionRetries: {{ .Values.config.retry.maxConnectionRetries }} {{- end }} +{{- if .Values.config.retry.maxProxyRetries }} + maxProxyRetries: {{ .Values.config.retry.maxProxyRetries }} +{{- end }} {{- if .Values.config.retry.retryInterval }} retryInterval: {{ .Values.config.retry.retryInterval }} {{- end }} From 205c21cc854acff5930487f6e4f2ca2af4aecd72 Mon Sep 17 00:00:00 2001 From: dhalimi Date: Mon, 6 Jan 2025 11:50:23 -0500 Subject: [PATCH 2/2] Adding maxProxyRetries to values.yaml --- openstack/cronus/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack/cronus/values.yaml b/openstack/cronus/values.yaml index e8d0915c31d..070329f465c 100644 --- a/openstack/cronus/values.yaml +++ b/openstack/cronus/values.yaml @@ -594,6 +594,7 @@ poller: # service that handles received emails debug: false # debug HTTP requests retry: # retry settings for failed connections maxConnectionRetries: 5 # 5 retries per connection + maxProxyRetries: 2 # 2 retries per connection when in proxy mode retryInterval: 0.5s # 500ms to wait after each try, e.g. in total 2.5 seconds, used in HTTP retry connectionTimeout: 0.5s # 500ms to wait after each try, e.g. in total 2.5 seconds, used in SMTP net retry commandTimeout: 3s