On Friday, October 7, 2011 at 8:20 PM, Pai-Hung Chen wrote:
> My question is: By the time the "before_exec" hook is executed, is it
> guaranteed that unicorn.pid.oldbin ahas lready created (otherwise we
> have a racing condition here)? Or is there a better way to achieve
> what I want?
I'm not 100% positive, but about 98% -- yes, you can count on the fact that the 
*.oldbin file will exist on disk before the before_exec block is executed. Eric 
can confirm this, but I've never had a problem with it... 
> 
> Please Cc me as I am not on the mailing list.
> 
> Please also let me know if there is a better place to ask this question.
You're in the right place -- this is a pretty active mailing list :)

-- 
Alex Sharp

github.com/ajsharp
twitter.com/ajsharp
alexjsharp.com

_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to