Unicorn in PM2 and running programmatically. #1429
Unanswered
SnowyJaguar1034
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I never used pm2 (actually discovered it) so cant say for sure but I dont see any obvious reason why it could not. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi got a couple questions about Uvicoorn.
I had a look at the deployment tab of the .org website and saw that Uvicoorn can be run from inside a process manager, would process manager 2 work? As that is what I currently use and I am familiar with how it works.
Another question I ahve is about running uvicorn projects programmatically, is
uvicorn.run()
blocking likeasyncio.run()
? I would like to be able to run both my asyncio project and my uvicorn project from the same file as they are related but I can't putuvicorn.run()
afterasyncio.run()
as the asyncio project blocks the entire process and never 'completes' (intended behaviour).Beta Was this translation helpful? Give feedback.
All reactions