[enh] verify that Tor proxy works every time searx starts

based on @MarcAbonce commit on searx
This commit is contained in:
Alexandre Flament 2021-09-23 11:31:29 +02:00
parent 4cc1ee8565
commit f9c6393502
5 changed files with 70 additions and 22 deletions

View file

@ -1350,7 +1350,7 @@ if (not werkzeug_reloader
or (werkzeug_reloader
and os.environ.get("WERKZEUG_RUN_MAIN") == "true") ):
plugin_initialize(app)
search_initialize(enable_checker=True)
search_initialize(enable_checker=True, check_network=True)
def run():