From 9f1112b58d051dcbc18a1851f0feaf018d60c53d Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 28 Sep 2023 17:41:48 +0800 Subject: [PATCH] fix --- app/api/endpoints/subscribe.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/api/endpoints/subscribe.py b/app/api/endpoints/subscribe.py index ef46619ce..e13ad639b 100644 --- a/app/api/endpoints/subscribe.py +++ b/app/api/endpoints/subscribe.py @@ -162,7 +162,9 @@ def search_subscribes( background_tasks.add_task( Scheduler().start, job_id="subscribe_search", - sid=None, state='R' + sid=None, + state='R', + manual=True ) return schemas.Response(success=True) @@ -178,7 +180,9 @@ def search_subscribe( background_tasks.add_task( Scheduler().start, job_id="subscribe_search", - sid=subscribe_id, state=None + sid=subscribe_id, + state=None, + manual=True ) return schemas.Response(success=True)