Replace procname with setproctitle (#1108)

main
Joe 6 years ago committed by Selwin Ong
parent 549648bd1b
commit b52bad3ad0

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

Loading…
Cancel
Save