Compare commits
No commits in common. "60e8b7607da329be0c95a113e80231cc9e6b22d4" and "fbcb31a674bb46d8cdfc33d8c15dc0bd584ea54c" have entirely different histories.
60e8b7607d
...
fbcb31a674
@ -79,16 +79,16 @@
|
||||
prodigy-init-async-timeout))
|
||||
(while (not callbacked) (accept-process-output nil 0.005)))))
|
||||
(funcall create-process)
|
||||
(let ((tryout 0))
|
||||
(prodigy-every 1
|
||||
(lambda (next)
|
||||
(setq tryout (1+ tryout))
|
||||
(if (process-live-p process)
|
||||
(when callback (funcall callback))
|
||||
(if (= tryout prodigy-start-tryouts)
|
||||
(prodigy-set-status service 'failed)
|
||||
(funcall next))))))
|
||||
(plist-put service :process process)
|
||||
(let ((tryout 0))
|
||||
(prodigy-every 1
|
||||
(lambda (next)
|
||||
(setq tryout (1+ tryout))
|
||||
(if (process-live-p process)
|
||||
(when callback (funcall callback))
|
||||
(if (= tryout prodigy-start-tryouts)
|
||||
(prodigy-set-status service 'failed)
|
||||
(funcall next))))))
|
||||
(plist-put service :process process)
|
||||
(when (not (plist-get service :inhibit-process-filter))
|
||||
(set-process-filter
|
||||
process
|
||||
@ -147,22 +147,22 @@
|
||||
>> ~/lola/logs/lola-server.log 2>&1"))
|
||||
:file "~/lola/logs/lola-server.log"
|
||||
:inhibit-process-filter t
|
||||
:cwd "~/lola/core-services/lola_server"
|
||||
:cwd "~/lola/lola-server"
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
"~/lola/core-services/lola_server/.env"))
|
||||
:init-async (python-service-setup "~/.pyenv/versions/lola-server"
|
||||
"~/lola/lola-server/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
:name "lola-server celery worker"
|
||||
:tags '(lola backend)
|
||||
:command "python"
|
||||
:args '("bin/start_celery_worker.py" "-P" "gevent" "-n" "lola-server")
|
||||
:cwd "~/lola/core-services/lola_server"
|
||||
:cwd "~/lola/lola-server"
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
"~/lola/core-services/lola_server/.env"))
|
||||
:init-async (python-service-setup "~/.pyenv/versions/lola-server"
|
||||
"~/lola/lola-server/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
:name "travel-service"
|
||||
@ -171,13 +171,13 @@
|
||||
:args (lambda ()
|
||||
(list
|
||||
"-c" "python bin/start_web.py >> ~/lola/logs/travel-svc.log 2>&1"))
|
||||
:cwd "~/lola/core-services/travel_service"
|
||||
:cwd "~/lola/lola-travel-service"
|
||||
:file "~/lola/logs/travel-svc.log"
|
||||
:inhibit-process-filter t
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
"~/lola/core-services/travel_service/.env"))
|
||||
:init-async (python-service-setup "~/.pyenv/versions/travel-service"
|
||||
"~/lola/lola-travel-service/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
:name "travel-service celery worker"
|
||||
@ -194,11 +194,11 @@
|
||||
">> ~/lola/logs/travel-svc-celery.log 2>&1")))
|
||||
:file "~/lola/logs/travel-svc-celery.log"
|
||||
:inhibit-process-filter t
|
||||
:cwd "~/lola/core-services/travel_service"
|
||||
:cwd "~/lola/lola-travel-service"
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
"~/lola/core-services/travel_service/.env"))
|
||||
:init-async (python-service-setup "~/.pyenv/versions/travel-service"
|
||||
"~/lola/lola-travel-service/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
:name "secrets"
|
||||
|
@ -72,7 +72,7 @@
|
||||
(lsp-deferred)))
|
||||
:custom
|
||||
(lsp-pyright-use-library-code-for-types t)
|
||||
(lsp-pyright-multi-root t)
|
||||
(lsp-pyright-multi-root nil)
|
||||
:general
|
||||
(python-mode-map "C-c C-d" #'lsp-describe-thing-at-point))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user