Make LISTENERS and WORKERS global constants, too
commit384c40f7cd24def2d5471df9bfa1e2fb2fa78cdb
authorEric Wong <normalperson@yhbt.net>
Fri, 24 Apr 2009 03:29:55 +0000 (23 20:29 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 24 Apr 2009 03:29:55 +0000 (23 20:29 -0700)
tree7290227003b24453d7bd262b0e7dd384c512729a
parent95003693ee95a01ce3da0a79713d65a8605020c3
Make LISTENERS and WORKERS global constants, too

Instance variables are expensive and we'd be encouraging
something like a thread-safe mentality for using ivars
when dealing with things that are global to the entire
process.
lib/unicorn.rb