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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bangs.py | ||
| misc.py | ||
| results.py | ||
| search.py | ||
| session.py | ||