unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: mongrel-unicorn@rubyforge.org
Subject: [ANN] unicorn 0.93.0
Date: Fri, 2 Oct 2009 14:44:21 -0700	[thread overview]
Message-ID: <20091002214421.GB13477@dcvr.yhbt.net> (raw)

More small fixes and documentation improvements in this release, things
have settled down a lot since 0.90.0 in August and we've mainly been
focusing on documentation, minor UI improvements and the occasional
minor bugfix as they get reported.

Changes:

  The one minor bugfix is only for Rails 2.3.x+ users who set the
  RAILS_RELATIVE_URL_ROOT environment variable in a config file.
  Users of the "--path" switch or those who set the environment
  variable in the shell were unaffected by this bug.  Note that we
  still don't have relative URL root support for Rails < 2.3, and
  are unlikely to bother with it unless there is visible demand
  for it.

  New features includes support for :tries and :delay when
  specifying a "listen" in an after_fork hook.  This was inspired
  by Chris Wanstrath's example of binding per-worker listen
  sockets in a loop while migrating (or upgrading) Unicorn.
  Setting a negative value for :tries means we'll retry the listen
  indefinitely until the socket becomes available.

  So you can do something like this in an after_fork hook:

      after_fork do |server, worker|
        addr = "127.0.0.1:#{9293 + worker.nr}"
        server.listen(addr, :tries => -1, :delay => 5)
      end

  There's also the usual round of added documentation, packaging
  fixes, code cleanups, small fixes and minor performance
  improvements that are viewable in the "git log" output.

* site: http://unicorn.bogomips.org/
* git: git://git.bogomips.org/unicorn.git
* cgit: http://git.bogomips.org/cgit/unicorn.git/
* list: mongrel-unicorn@rubyforge.org
* nntp: nntp://news.gmane.org/gmane.comp.lang.ruby.unicorn.general
* finger: unicorn@bogomips.org

-- 
Eric Wong

                 reply	other threads:[~2009-10-02 21:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091002214421.GB13477@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).