El Miércoles, 23 de Diciembre de 2009, Eric Wong escribió:
> Iñaki Baz Castillo <[email protected]> wrote:
> > Hi, I'm trying to override Unicorn::HttpServer::Worker#proc_name method.
> > For that, I've copied bin/unicorn with other name and added the following
> > code before "Unicorn::Launcher.daemonize! if daemonize" line:
> >
> > module Unicorn
> >   class HttpServer
> >     class Worker
> >       def proc_name(tag)
> >           ... some proc name ...
> >       end
> >     end
> >   end
> > end
> 
> Hi, proc_name is in HttpServer, not Worker

Great! oh my god... I was trying everything and didn't realize of that XDD

Thanks a lot, it just works :)
 


-- 
Iñaki Baz Castillo <[email protected]>
_______________________________________________
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