From c2307164673de2488967e666419289ae7d2accc3 Mon Sep 17 00:00:00 2001 From: Alexis Pentori Date: Thu, 2 May 2024 10:18:49 +0200 Subject: [PATCH] store: setting retention policy in size for test stage Signed-off-by: Alexis Pentori --- ansible/group_vars/store.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/group_vars/store.yml b/ansible/group_vars/store.yml index a9db215..98014bb 100644 --- a/ansible/group_vars/store.yml +++ b/ansible/group_vars/store.yml @@ -44,7 +44,7 @@ nim_waku_store_message_db_name: 'nim-waku' nim_waku_store_message_db_user: 'nim-waku' nim_waku_store_message_db_pass: '{{lookup("bitwarden", "fleets/shards/"+stage+"/db/nim-waku")}}' nim_waku_store_message_db_url: 'postgres://{{ nim_waku_store_message_db_user}}:{{ nim_waku_store_message_db_pass}}@store-db-01.{{ ansible_domain }}.wg:5432/{{nim_waku_store_message_db_name}}' -nim_waku_store_message_retention_policy: 'time:2592000' # 30 days +nim_waku_store_message_retention_policy: '{{ "size:80GB" if stage == "test" else "time:2592000" }}' # 30 days for staging # DNS Discovery nim_waku_dns_disc_enabled: true