From 6cfd477e3008e3f38866cec9115aed590479f7b6 Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Wed, 10 May 2023 16:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A0=BC=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/business/business/community/relative_price_ranking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/business/business/community/relative_price_ranking.py b/dags/business/business/community/relative_price_ranking.py index e576ed9..8ce5cf4 100644 --- a/dags/business/business/community/relative_price_ranking.py +++ b/dags/business/business/community/relative_price_ranking.py @@ -136,7 +136,7 @@ def sync(city=None): seaweed_list = list() seaweed_df.apply(lambda x: seaweed_list.append(dict(x)), axis=1) - with ThreadPoolExecutor(max_workers=50) as pool: + with ThreadPoolExecutor(max_workers=30) as pool: for seaweed in seaweed_list: pool.submit(find_around_price_item, seaweed)