From b7d4180cdee8f3497e97c1d797210ce6fe1e5c29 Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Tue, 7 Mar 2023 14:21:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=9D=87=E6=B6=88=E8=B4=B9=E6=8F=90?= =?UTF-8?q?=E9=AB=98=E6=9C=80=E5=A4=A7=E7=BA=BF=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/business/business/community/avg_cost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/business/business/community/avg_cost.py b/dags/business/business/community/avg_cost.py index f47f70f..9cc3ea2 100644 --- a/dags/business/business/community/avg_cost.py +++ b/dags/business/business/community/avg_cost.py @@ -136,7 +136,7 @@ def sync(city=None): seaweed_df.loc[index, 'avg_cost'] = price else: seaweed_df.loc[index, 'avg_cost'] = None - with ThreadPoolExecutor(max_workers=30) as pool: + with ThreadPoolExecutor(max_workers=80) as pool: for index, item in seaweed_df.iterrows(): pool.submit(find_around_price_item, index, item) # for index, item in seaweed_df.iterrows():