[mod] move hook to set Unix thread name into searx.unixthreadname

requires setproctitle (but optional)
This commit is contained in:
Alexandre Flament 2021-06-08 11:34:36 +02:00
parent 0e23113f70
commit 70bbd14b1a
3 changed files with 21 additions and 15 deletions

View file

@ -5,6 +5,7 @@
from os.path import dirname, abspath
import logging
import searx.unixthreadname
import searx.settings_loader
from searx.settings_defaults import settings_set_defaults