mirror of https://github.com/zulip/zulip.git
check-rabbitmq-consumers: Fix queue_workers call.
This commit is contained in:
parent
03861e5418
commit
b81add60fe
|
@ -37,7 +37,8 @@ consumers = defaultdict(int) # type: Dict[str, int]
|
||||||
|
|
||||||
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))))
|
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))))
|
||||||
from scripts.lib.zulip_tools import su_to_zulip
|
from scripts.lib.zulip_tools import su_to_zulip
|
||||||
queues = subprocess.check_output(['./scripts/lib/queue_workers.py', '--queue-type=consumer'],
|
queues = subprocess.check_output([os.path.abspath('./scripts/lib/queue_workers.py'),
|
||||||
|
'--queue-type=consumer'],
|
||||||
universal_newlines=True,
|
universal_newlines=True,
|
||||||
preexec_fn=su_to_zulip)
|
preexec_fn=su_to_zulip)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue