Replace procname with setproctitle (#1108)

This commit is contained in:
Joe 2019-06-16 16:41:27 +08:00 committed by Selwin Ong
parent 549648bd1b
commit b52bad3ad0
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ from .version import VERSION
from .worker_registration import clean_worker_registry, get_keys
try:
from procname import setprocname
from setproctitle import setproctitle as setprocname
except ImportError:
def setprocname(*args, **kwargs): # noqa
pass