revamp configuration with Configurator DSL
commit38141ffdd3bda01dabfdd8ff8f065c783053c86a
authorEric Wong <normalperson@yhbt.net>
Sat, 21 Feb 2009 03:55:10 +0000 (20 19:55 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 21 Feb 2009 12:23:37 +0000 (21 04:23 -0800)
tree1d05740ef1520111a2fb5ee7852b7f6e091c2d60
parentb8697b5fb102049f341e710204dfafeecfedc308
revamp configuration with Configurator DSL

The Configurator includes error checking and opens the way for
better reloading/error-checking abilities.

This also renames many of the config settings with something
nginx-like to minimize the learning/setup curve since nginx is
the only recommended reverse-proxy for this.

s/pid_file/pid/
  => blech!, more confusing :<

s/listen_backlog/backlog/
  => maybe more confusing to some, or less...

s/nr_workers/worker_processes/
  => less confusing to non-AWKers for sure

s/hot_config_file/config_file/
  => the config file is now general purpose,
     not just hot reloads
lib/unicorn.rb
lib/unicorn/configurator.rb [new file with mode: 0644]
lib/unicorn/socket.rb