Namespace with 3 month retention period

Is it possible to register a namespace with more than 30 days of retention period?? like 3 or more month retention period?

I used RegisterNamespace api in java, when my retention in days is > 30 , it throws an error saying invalid retentionDays

1 Like

I haven’t tried with java, by using tctl commands you can do it.

tctl --ns my_namespace namespace update -has enabled --retention 10

Large retention period is usually a bad idea as it would keep all completed workflows in the DB, possibly causing it to get out of the disk space.