mod_python + wsgi mercurial application and in-process hook question

Berkes Adan adam.berkes at intland.com
Tue Sep 14 11:58:23 CDT 2010


  Hi,

This question might a bit weird but I need some clarification on this:
There is an apache2 server which serve mercurial request through 
mod_python. The python gateway which initiate the wsgi application sets 
some enviroment variable which is going to be retrieved in an in-process 
hook in certain cases.
The question is: Is this way safe if two requests arrive at the same 
time to the same repository in apache? So more technically: is all such 
requests are going to be served by a separate process from mercurial 
perspective so the enviroment variables is going to be isolated even 
when a hook is called?

Thanks in advance and best regards,
Adam Berkes


More information about the Mercurial-devel mailing list