diff --git a/dags/business/business/community/avg_cost.py b/dags/business/business/community/avg_cost.py index 66c19b3..52a376d 100644 --- a/dags/business/business/community/avg_cost.py +++ b/dags/business/business/community/avg_cost.py @@ -139,7 +139,7 @@ def sync(city=None): seaweed_df.loc[index, 'avg_cost'] = price else: seaweed_df.loc[index, 'avg_cost'] = None - with ThreadPoolExecutor(max_workers=80) as pool: + with ThreadPoolExecutor(max_workers=30) as pool: for index, item in seaweed_df.iterrows(): pool.submit(find_around_price_item, index, item) # for index, item in seaweed_df.iterrows():