From a37042591c548e65907725b7e0b1905c6d3f571b Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 12 Feb 2020 14:24:38 -0500 Subject: [PATCH] Add -n to celery worker configs; account for lola-services rename --- emacs/init.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index 3fca2e6..e7c5f49 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -4415,7 +4415,7 @@ Some functions to make my day job easier. :name "lola-server celery worker" :tags '(lola backend) :command "python" - :args '("bin/start_celery_worker.py" "-P" "gevent") + :args '("bin/start_celery_worker.py" "-P" "gevent" "-n" "lola-server") :cwd "~/lola/lola-server" :stop-signal 'int :truncate-output t @@ -4448,6 +4448,7 @@ Some functions to make my day job easier. "-c" (concat "python " "bin/start_celery_workers.py " + "-n " "travel-service " "-Q " "default,io_pool,cpu_pool,priority_io_pool,priority_cpu_pool " (format "&> %s" (lola-log-file "travel-svc-celery-"))))) @@ -4533,12 +4534,12 @@ Some functions to make my day job easier. (prodigy-define-service :name "priceline-service" :tags '(lola backend) - :command "~/lola/lola-services/priceline/bin/start.sh" + :command "~/lola/python-services/priceline/bin/start.sh" :args '("web") - :cwd "~/lola/lola-services" + :cwd "~/lola/python-services" :stop-signal 'int :init-async (python-service-setup "lola-services-ZdLKpchq" - "~/lola/lola-services/priceline/.env")) + "~/lola/python-services/priceline/.env")) (prodigy-define-service :name "email-template-service"