Hey,

Would it be possible to make uWSGI generate a RUNTIME_ID environmental
variable (or WSGI variable) which is unique to that runtime, and stays the
same after harikari and/or respawning of the Python processes.

Typical use case:

Being able to have a different caching name scope, everytime you do a uWSGI
restart (for example, when something in the app changes). If you generate it
inside Python, you end up with a new one per Python worker :(

Cheers

Cal
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to