summaryrefslogtreecommitdiff
path: root/searx/webadapter.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-10-01 14:18:00 +0200
committerAlexandre Flament <alex@al-f.net>2020-10-05 11:13:32 +0200
commit6c39917c4d3e3d3d6ced3fc14d1c78842fec3a19 (patch)
treec6712bad1b047b3ad7a79a8510eb14bc0135d7c9 /searx/webadapter.py
parent2cafc5462d9b58c4a19a336c8b79d55bb9166913 (diff)
[mod] webapp.py: update engines initialization condition
Always call initialize engines except on the first run of werkzeug with the reload feature. the reload feature is activated when: * searx_debug is True (SEARX_DEBUG environment variable or settings.yml) * FLASK_APP=searx/webapp.py FLASK_ENV=development flask run (see https://flask.palletsprojects.com/en/1.1.x/cli/ ) Fix SEARX_DEBUG=0 make docs docs/admin/engines.rst : engines are initialized See https://github.com/searx/searx/issues/2204#issuecomment-701373438
Diffstat (limited to 'searx/webadapter.py')
0 files changed, 0 insertions, 0 deletions