From 9ce31e9b56d74fcd33946cf2a777046d640e3405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=81=A5?= Date: Fri, 20 Jun 2025 13:30:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BC=81=E4=B8=9A=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E5=8C=BA=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/company/company/fill_company_dev.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/company/company/fill_company_dev.py b/dags/company/company/fill_company_dev.py index d8de094..a8ddd02 100644 --- a/dags/company/company/fill_company_dev.py +++ b/dags/company/company/fill_company_dev.py @@ -48,7 +48,7 @@ def sync(province): DIDATA_DEV_ELASTIC_CLIENT.elastic_client, actions, thread_count=5, # 并行线程数 - chunk_size=1000 # 批量大小 + chunk_size=10000 # 批量大小 ): if not success: print(f"索引失败: {info}") @@ -60,7 +60,7 @@ def sync(province): DIDATA_DEV_ELASTIC_CLIENT.elastic_client, actions, thread_count=5, # 并行线程数 - chunk_size=1000 # 批量大小 + chunk_size=10000 # 批量大小 ): if not success: print(f"索引失败: {info}")