From 912c7e975c3943db798d748fa48d460467b66d30 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 13 Jan 2021 14:07:39 +0100 Subject: [fix] checker: don't run the checker when uwsgi is not properly configured Before this commit, even with the scheduler disabled, the checker was running at least once for each uwsgi worker. --- searx/shared/shared_simple.py | 1 + 1 file changed, 1 insertion(+) (limited to 'searx/shared/shared_simple.py') diff --git a/searx/shared/shared_simple.py b/searx/shared/shared_simple.py index 5b970aad9..48d8cb822 100644 --- a/searx/shared/shared_simple.py +++ b/searx/shared/shared_simple.py @@ -36,3 +36,4 @@ def schedule(delay, func, *args): func(*args) call_later() + return True -- cgit v1.2.3