From 7b41e1b27ea313b434a104f67fa659810d1bd5a9 Mon Sep 17 00:00:00 2001 From: chengma Date: Tue, 11 Aug 2026 16:40:17 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=99=90=E5=88=B6=E5=95=86=E5=93=81?= =?UTF-8?q?=E9=A1=B5=E8=A1=A5=E9=87=87=E6=9C=80=E5=A4=9A=E6=BB=91=E5=8A=A8?= =?UTF-8?q?3=E6=AC=A1=20(#163)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pdd_collect_service.py | 2 +- client/test/test_pdd_collect_service.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/pdd_collect_service.py b/client/src/pdd_collect_service.py index c02ec56..1e5f201 100644 --- a/client/src/pdd_collect_service.py +++ b/client/src/pdd_collect_service.py @@ -794,7 +794,7 @@ class PddCollectService: page_timeout: float = 30.0, spec_panel_timeout: float = 10.0, overall_timeout: float = 600.0, - max_goods_page_swipes: int = 6, + max_goods_page_swipes: int = 3, max_spec_swipes: int = 12, max_sku_count: int = 200, color_poll_interval: float = 0.1, diff --git a/client/test/test_pdd_collect_service.py b/client/test/test_pdd_collect_service.py index 07805a1..bf19be2 100644 --- a/client/test/test_pdd_collect_service.py +++ b/client/test/test_pdd_collect_service.py @@ -1390,7 +1390,7 @@ class PddCollectParserTest(unittest.TestCase): self.assertTrue(device.clicks) self.assertEqual(device.swipe_panel_states[:2], [False, False]) - def test_goods_metadata_default_swipe_limit_is_six(self): + def test_goods_metadata_default_swipe_limit_is_three(self): pages = [ f"""