Hi everyone! Is there a way to reduce the time ran...
# announcements
m
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
Hi. Are you self-hosting or using GrowthBook Cloud?
m
Self-hosting
f
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
That’s great! Thank you so much 🙂