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. |
||
|---|---|---|
| .. | ||
| models | ||
| static | ||
| templates | ||
| utils | ||
| __init__.py | ||
| __main__.py | ||
| filter.py | ||
| request.py | ||
| routes.py | ||