whoogle-search/app
Ben Busby 72e5a227c8
Move bangs init to bg thread
Initializing the DDG bangs when running whoogle for the first time
creates an indeterminate amount of delay before the app becomes usable,
which makes usability tests (particularly w/ Docker) unreliable. This
moves the bang json init to a background thread and writes a temporary
empty dict to the bangs json file until the full bangs json can be used.
2022-01-25 12:28:06 -07:00
..
models Remove default country param 2021-12-23 17:01:49 -07:00
static Improve formatting of collapsible infobox (#612) 2022-01-18 13:47:35 -07:00
templates Skip loading autocomplete.js if `WHOOGLE_AUTOCOMPLETE=0` (#611) 2022-01-18 13:39:56 -07:00
utils Move bangs init to bg thread 2022-01-25 12:28:06 -07:00
__init__.py Move bangs init to bg thread 2022-01-25 12:28:06 -07:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Improve formatting of collapsible infobox (#612) 2022-01-18 13:47:35 -07:00
request.py Catch invalid XML in suggestion response 2021-12-28 11:38:18 -07:00
routes.py Move bangs init to bg thread 2022-01-25 12:28:06 -07:00