diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-10-01 14:18:00 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-10-05 11:13:32 +0200 |
| commit | 6c39917c4d3e3d3d6ced3fc14d1c78842fec3a19 (patch) | |
| tree | c6712bad1b047b3ad7a79a8510eb14bc0135d7c9 /docs/admin/settings.rst | |
| parent | 2cafc5462d9b58c4a19a336c8b79d55bb9166913 (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 'docs/admin/settings.rst')
0 files changed, 0 insertions, 0 deletions