diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-15 00:53:45 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-15 00:53:45 +0000 |
commit | a7d9eb03bf3ac554854990018a67f34c2221fb20 (patch) | |
tree | a45ff1d782370b7143661967394b79e75fa0fbe1 | |
parent | f8953ce747bd35b2008fc3daa040b89002a3133e (diff) | |
download | unicorn-a7d9eb03bf3ac554854990018a67f34c2221fb20.tar.gz |
We always know we have zero workers at startup, so we don't need to check before hand. SIGHUP users may suffer a small performance decrease as a result, but there's not much we can do about it.
-rw-r--r-- | lib/unicorn/http_server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index 108604c..3933da1 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unicorn/http_server.rb @@ -132,7 +132,7 @@ class Unicorn::HttpServer self.master_pid = $$ build_app! if preload_app - maintain_worker_count + spawn_missing_workers self end |