https://www.growthbook.io/ logo
#announcements
Title
# announcements
m

melodic-solstice-24408

10/25/2022, 4:05 PM
Hi everyone! Is there a way to reduce the time range GrowthBook uses to retrieve past experiment from the data source? Currently it’s set up to 12 months, but for one of our data sources we’d like to try and reduce it
f

future-teacher-7046

10/25/2022, 4:06 PM
Hi. Are you self-hosting or using GrowthBook Cloud?
m

melodic-solstice-24408

10/25/2022, 4:06 PM
Self-hosting
f

future-teacher-7046

10/25/2022, 4:07 PM
There's an undocumented environment variable you can set.
IMPORT_LIMIT_DAYS
. It defaults to
365
, but you can lower it
There's currently no way to reduce it for just a single data source. I'll add an issue on GitHub to add this setting
🙌 1
m

melodic-solstice-24408

10/25/2022, 4:08 PM
That’s great! Thank you so much 🙂
16 Views