From b52bad3ad034293185e72090a23817a2d23bc957 Mon Sep 17 00:00:00 2001 From: Joe <10510431+j178@users.noreply.github.com> Date: Sun, 16 Jun 2019 16:41:27 +0800 Subject: [PATCH] Replace procname with setproctitle (#1108) --- rq/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/worker.py b/rq/worker.py index f70aae4..cccdbc1 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -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