From 4756f9713f6db12067ed40e54e87fd38d15094fb Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Wed, 21 Aug 2024 13:45:08 +0330 Subject: [PATCH] fix: reduce discord analyzer workload! --- dags/discord_guild_analyzer_etl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dags/discord_guild_analyzer_etl.py b/dags/discord_guild_analyzer_etl.py index baf5d013..6cdd8276 100644 --- a/dags/discord_guild_analyzer_etl.py +++ b/dags/discord_guild_analyzer_etl.py @@ -24,6 +24,8 @@ start_date=datetime(2024, 5, 1), schedule_interval=None, # we would always run this manually catchup=False, + max_active_runs=1, + max_active_tasks=3, ) as dag: """ processing data just for one guild