store: setting retention policy in size for test stage
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
f39afef54d
commit
c230716467
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue