From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.0 required=5.0 tests=none shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id AD7C73387B for ; Thu, 18 Oct 2012 06:33:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 4D6362E06E; Thu, 18 Oct 2012 06:33:51 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from petteriraty.eu (petteriraty.eu [188.40.80.83]) by rubyforge.org (Postfix) with ESMTP id 786CD2E05D for ; Thu, 18 Oct 2012 06:33:48 +0000 (UTC) Received: from Petteri-Ratys-MacBook-Pro.local (ip-87-108-62-42.customer.academica.fi [87.108.62.42]) by petteriraty.eu (Postfix) with ESMTPSA id DA7EE39F0D for ; Thu, 18 Oct 2012 06:33:46 +0000 (UTC) Message-ID: <507FA2C9.2070300@gentoo.org> Date: Thu, 18 Oct 2012 09:33:45 +0300 From: =?ISO-8859-1?Q?Petteri_R=E4ty?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: unicorn list Subject: Rack env rack.multiprocess true with single worker X-Enigmail-Version: 1.4.5 X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Hi, unicorn unconditionally sets rack.multiprocess to true in the Rack environment. The Rack spec [0] says the following about the variable: "true if an equivalent application object may be simultaneously invoked by another process, false otherwise." When unicorn is running with a single worker this does not hold so what do you think about setting the variable to false when only a single worker is configured? I want to use the variable to check if I can do a HTTP call back to the application (long story) but currently with unicorn and single worker this is not possible. Regards, Petteri [0] http://rack.rubyforge.org/doc/files/SPEC.html _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying