Add -n to celery worker configs; account for lola-services rename

This commit is contained in:
Jeremy Dormitzer 2020-02-12 14:24:38 -05:00
parent 581517465c
commit a37042591c

View File

@ -4415,7 +4415,7 @@ Some functions to make my day job easier.
:name "lola-server celery worker" :name "lola-server celery worker"
:tags '(lola backend) :tags '(lola backend)
:command "python" :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" :cwd "~/lola/lola-server"
:stop-signal 'int :stop-signal 'int
:truncate-output t :truncate-output t
@ -4448,6 +4448,7 @@ Some functions to make my day job easier.
"-c" "-c"
(concat "python " (concat "python "
"bin/start_celery_workers.py " "bin/start_celery_workers.py "
"-n " "travel-service "
"-Q " "-Q "
"default,io_pool,cpu_pool,priority_io_pool,priority_cpu_pool " "default,io_pool,cpu_pool,priority_io_pool,priority_cpu_pool "
(format "&> %s" (lola-log-file "travel-svc-celery-"))))) (format "&> %s" (lola-log-file "travel-svc-celery-")))))
@ -4533,12 +4534,12 @@ Some functions to make my day job easier.
(prodigy-define-service (prodigy-define-service
:name "priceline-service" :name "priceline-service"
:tags '(lola backend) :tags '(lola backend)
:command "~/lola/lola-services/priceline/bin/start.sh" :command "~/lola/python-services/priceline/bin/start.sh"
:args '("web") :args '("web")
:cwd "~/lola/lola-services" :cwd "~/lola/python-services"
:stop-signal 'int :stop-signal 'int
:init-async (python-service-setup "lola-services-ZdLKpchq" :init-async (python-service-setup "lola-services-ZdLKpchq"
"~/lola/lola-services/priceline/.env")) "~/lola/python-services/priceline/.env"))
(prodigy-define-service (prodigy-define-service
:name "email-template-service" :name "email-template-service"