Max Retention Period (was the 14 day limit removed?)

Hi!

tldr; is there a maximum retention period for the temporal data?

My team and I started working with Temporal close to two years ago and after getting it to a working state we had to put the project on standby for close to a year. Now that we are back on it, we are re-learning a lot of things.

Back in the day, I remember that we were told that the max retention period for Temporal was 14 days. But, as I was reading the documentation today and reading this forum, it seems like there is not limit to the retention period? Can someone confirm this for me, please :smiley:

As I understand it, as long as the retention period is not expired, the data Temporal generates (workflow, event history, visibility, etc) all is kept in the persistance DB and the visibility DB (we use ES). Is this correct?

Thanks in advance

I’m pretty sure that we didn’t have 14 days limit two years ago. You can set it to any value, but note that it might end up killing your DB (or Elastic) if it runs out of disk space. Changing retention limit to lower value doesn’t affect already closed workflows, only the ones that close after the change.

Awesome, love to hear that! Thank you for the confirmation!