Hey everone,
I've been using unit a lot lately, and I noticed this:
https://github.com/nginx/unit/issues/17
and this:
https://unit.nginx.org/configuration/#configuration-management
What I'm wondering is whether or not anyone is using unit to store actual
application configuration data?
It's possible, and I might explore this in the next week or so and see how
feasible it is.
I just thought I'd ask if anyone has already done this or not
Scott.
Hello,
I am trying to determine the best way to introduce a resource clean up
logic into a python module that is called using ASGI protocol.
I am successfully catching the *'lifespan.startup' *event from within my
async def application(scope, receive, send*) *implementation.
Unfortunately, I do not see the *'lifespan.shutdown' *event when the
process is unloaded.
My config file includes:
"processes": {
"max": 3,
"spare": 1,
"idle_timeout": 10
},
I was under the assumption that the above config will force the idle
processes to shut down resulting in the *'lifespan.shutdown' *event .
Would appreciate any assistance.
gen