Skip to content

Commit 16407af

Browse files
author
PJEstrada
authored
Merge pull request #26 from diffgram/tx-timeout-env
feat: tx timeout
2 parents f9d17ac + 45c8383 commit 16407af

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

templates/diffgram_settings.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@
5757
SMTP_PORT: {{.Values.diffgramSettings.SMTP_PORT}}
5858
SMTP_USERNAME: {{.Values.diffgramSettings.SMTP_USERNAME}}
5959
SMTP_FROM_EMAIL: {{.Values.diffgramSettings.SMTP_FROM_EMAIL}}
60+
DATABASE_IDLE_SESSION_TRANSACTION_TIMEOUT: {{.Values.diffgramSettings.DATABASE_IDLE_SESSION_TRANSACTION_TIMEOUT}}
6061
{{- end }}

values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ diffgramSettings:
103103
RABBITMQ_USE_SSL: '"False"'
104104
SIGNED_URL_CACHE_MINIMUM_SECONDS_VALID: "'18000'" # 5 days default
105105
SIGNED_URL_CACHE_NEW_OFFSET_SECONDS_VALID: "'21600'" # 6 days default
106+
DATABASE_IDLE_SESSION_TRANSACTION_TIMEOUT: "'3600000'" # 1 hour tx timeout for DB
106107

107108
# Email Settings
108109
EMAIL_VALIDATION: '"False"' # Turns on email verification for new accounts.

0 commit comments

Comments
 (0)