diff --git a/etl/src/birdxplorer_etl/settings.py b/etl/src/birdxplorer_etl/settings.py index c1c580f..c09eeaf 100644 --- a/etl/src/birdxplorer_etl/settings.py +++ b/etl/src/birdxplorer_etl/settings.py @@ -5,7 +5,9 @@ load_dotenv() default_start_time = int(datetime.combine(datetime.now() - timedelta(days=2), datetime.min.time()).timestamp() * 1000) -default_end_time = int(datetime.now().timestamp() * 1000) +default_end_time = int( + datetime.combine(datetime.now() - timedelta(days=1) - timedelta(hours=20), datetime.min.time()).timestamp() * 1000 +) TARGET_TWITTER_POST_START_UNIX_MILLISECOND = int( os.getenv("TARGET_TWITTER_POST_START_UNIX_MILLISECOND", default_start_time)