From 0ca5f5bd89f2b4d1da1bc6f5cf0287c86a163a98 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 25 Mar 2024 23:06:30 +0800 Subject: [PATCH] fix timeout --- app/modules/indexer/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/modules/indexer/__init__.py b/app/modules/indexer/__init__.py index 60e4dedc..152491ba 100644 --- a/app/modules/indexer/__init__.py +++ b/app/modules/indexer/__init__.py @@ -111,6 +111,8 @@ class IndexerModule(_ModuleBase): mtype=mtype, page=page ) + if error_flag: + break if not result: continue if settings.SEARCH_MULTIPLE_NAME: