From a7d9eb03bf3ac554854990018a67f34c2221fb20 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 Jun 2011 00:53:45 +0000 Subject: http_server: kill another stack frame off 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. --- lib/unicorn/http_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3-24-ge0c7