feat(backend): add age condition for state versions retention
All checks were successful
main / main (push) Successful in 2m47s
main / deploy (push) Has been skipped
main / publish (push) Has been skipped

Closes #59
This commit is contained in:
Julien Dessaux 2025-05-01 14:27:49 +02:00
parent 5d7b540718
commit 0a63e1f593
Signed by: adyxax
GPG key ID: F92E51B86E07177E
3 changed files with 32 additions and 20 deletions

View file

@ -36,6 +36,8 @@ func TestMain(m *testing.M) {
return "a528D1m9q3IZxLinSmHmeKxrx3Pmm7GQ3nBzIDxjr0A="
case "TFSTATED_VERSIONS_HISTORY_LIMIT":
return "3"
case "TFSTATED_VERSIONS_HISTORY_MINIMUM_DAYS":
return "0"
default:
return ""
}