From f4aedd9cfda8202e4bf21a978e182f98266aab97 Mon Sep 17 00:00:00 2001 From: wufayuan <2858767122@qq.com> Date: Wed, 6 Jul 2022 22:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=8A=9F=E8=83=BD=E5=88=9D?= =?UTF-8?q?=E6=AD=A5=E5=AE=8C=E6=88=90,=E4=BC=98=E5=8C=96=EF=BC=9A?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E4=B8=80=E6=9D=A1=E4=B8=80=E6=9D=A1=E5=86=99?= =?UTF-8?q?=E5=85=A5=E6=95=B0=E6=8D=AE=E5=BA=93=EF=BC=8C=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E7=88=AC=E5=8F=96=E5=AE=8C=E6=AF=95=E5=90=8E?= =?UTF-8?q?=E4=B8=80=E6=AC=A1=E6=80=A7=E5=86=99=E5=85=A5=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=EF=BC=9B=E4=BC=98=E5=8C=96=E5=88=86=E5=B8=83=E5=BC=8F?= =?UTF-8?q?=E9=9B=86=E7=BE=A4=EF=BC=9B=E4=BC=98=E5=8C=96=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=8F=AA=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E5=9C=A8settings.ini=E9=87=8C=E6=94=B9=E5=B0=B1?= =?UTF-8?q?=E8=A1=8C=EF=BC=9B=E4=BC=98=E5=8C=96=E4=BB=BB=E5=8A=A1=E5=88=86?= =?UTF-8?q?=E5=8F=91=E6=A8=A1=E5=9D=97=EF=BC=8C=E8=8B=A5=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=8E=A5=E6=94=B6=E4=BB=BB=E5=8A=A1=E5=A4=AA=E5=A4=9A=EF=BC=8C?= =?UTF-8?q?=E5=A4=9A=E5=87=BA=E7=9A=84=E4=BB=BB=E5=8A=A1=E5=B0=86=E5=A4=84?= =?UTF-8?q?=E4=BA=8E=E7=AD=89=E5=BE=85=E7=8A=B6=E6=80=81=EF=BC=8C=E5=BD=93?= =?UTF-8?q?=E5=88=86=E5=B8=83=E5=BC=8F=E8=8A=82=E7=82=B9=E6=88=96=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E7=88=AC=E8=99=AB=E5=87=BA=E7=8E=B0=E7=A9=BA?= =?UTF-8?q?=E9=97=B2=E7=9A=84=E6=97=B6=E5=80=99=E7=AD=89=E5=BE=85=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E4=BB=BB=E5=8A=A1=E6=89=8D=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/settings.ini | 2 +- dcs/clients/clients.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/settings.ini b/conf/settings.ini index 6585813..a609081 100644 --- a/conf/settings.ini +++ b/conf/settings.ini @@ -6,7 +6,7 @@ buffer_size = 8 * 1024 * 1024 [crawler] edge_driver_path = G:\course\yykf\dcs\bin\msedgedriver.exe -max_count_of_crawlers = 1 +max_count_of_crawlers = 10 [database] ip = 127.0.0.1 diff --git a/dcs/clients/clients.py b/dcs/clients/clients.py index 1af5dce..cb3a59f 100644 --- a/dcs/clients/clients.py +++ b/dcs/clients/clients.py @@ -9,7 +9,7 @@ port = 7777 local_ip = ip local_port = None # 开启的分布节点数量 -count = 1 +count = 5 if __name__ == '__main__': clients = []