Paul J. Davis
2c73a41ab7
Load wsgi apps after reading the configuration.
2010-05-19 13:39:38 -04:00
Paul J. Davis
793323789d
Changing setting definitions from INI to Py
...
Settings are now enumerated in config.py
2010-05-19 13:39:38 -04:00
Paul J. Davis
36f1bc9748
Fixed a typo when setting config parameters.
2010-05-19 13:39:38 -04:00
Benoit Chesneau
c01123eb06
adapt django command to new config stuff.
2010-05-19 13:39:37 -04:00
Paul J. Davis
036f8b50d9
Major refactor of the configuration mechanics.
...
* All configuration and bootup is handled by the Application objects.
* There is now a strict ordering on the precedence of configuration
settings:
1. Each option is given a default value of some sort in options.ini
2. Any detectable framework configuration settings override the hard
coded defaults for options. Currently, only Paster applications
have support for this.
3. Anything that is specified in a Gunicorn configuration file (by
default gunicorn.conf.py) overrides what was possibly set by a
framework specific configuration source.
4. Anything specified on the command line reins supreme. The command
line is the final authority on a given configuration option.
Though, not all configuration options are available via command
line.
* Configuration metadata is pulled from an options.ini. In the future I'll
use this to build the example gunicorn.conf.py and the config.rst file
in docs/site/config.rst.
I haven't tested the differences thoroughly. The next item on my agenda
is to figure out a way to start testing Gunicorn that doesn't make my
eyes bleed.
2010-05-19 13:39:37 -04:00
Paul J. Davis
5268b8fbbb
Create an application abstraction.
...
Groundwork for providing a post-fork app import option.
Fixes paster's ini not being able to register changes.
2010-05-19 13:39:10 -04:00
Paul J. Davis
63e39e1232
Slight grammar tweak.
2010-05-19 13:34:42 -04:00
Benoit Chesneau
fdf8169a2c
fix issue #57 and make sure target dir of pidfile exists.
2010-05-19 19:29:51 +02:00
Benoit Chesneau
ed17054137
fix issue #55 . Thanks!
2010-05-17 16:31:25 +02:00
Benoit Chesneau
21db2dd048
update news for 0.9-dev
2010-05-17 06:53:16 +02:00
Benoit Chesneau
71587482a3
0.9.0-dev version .
2010-05-17 06:51:55 +02:00
Benoit Chesneau
a4f850cd73
fix reexec
2010-05-17 05:38:03 +02:00
Benoit Chesneau
c35fe1f472
bump 0.8.2
2010-05-16 21:25:09 +02:00
Paul J. Davis
1a03c3f36e
Bug preventing HUP completion.
...
Just a bit of cruft from the pidfile updates.
2010-05-16 14:02:55 -04:00
Benoit Chesneau
a52a6fda17
revert previous commit ...
2010-05-13 19:29:17 +02:00
Benoit Chesneau
a776057a45
sync
2010-05-13 19:25:04 +02:00
Benoit Chesneau
c6d9f9ab7c
fix paster usage
2010-05-13 19:21:38 +02:00
benoitc
5038c3785a
dns monkey patch is broken currently in gevent. Waiting upstream fix it,
...
don't patch it.
2010-05-12 17:54:37 +02:00
Paul J. Davis
4cb0f1ab12
Added framework examples for Itty and Flask.
...
We need more of these.
2010-05-12 00:14:39 -04:00
Paul J. Davis
0a46d09c6e
Avoid a deadlock when the acceptor loop raises.
...
An out of file descriptors error was causing the async acceptor loops to
die. The notification process was unaffected so the workers didn't die.
Async workers hitting an error in the acceptor now kill themselves and
rely on the arbiter to restart a new worker in their stead.
2010-05-11 23:33:48 -04:00
Paul J. Davis
db5bd53c4e
If no pidfile is specified, use a random tmp file.
2010-05-11 23:10:52 -04:00
Paul J. Davis
d2561ae681
Fixed a snafu in the installation instructions.
...
libev != libevent.
Also added a note about getting the most recent greenlets module.
2010-05-11 17:31:43 -04:00
benoitc
2bc67cc8b8
better handling of QUIT/HUP soignal to fix issue #49 . We want graceful
...
quit or restart if possible.
2010-05-10 12:25:34 +02:00
benoitc
ba06498d7d
fix issue #47
2010-05-09 21:39:45 +02:00
benoitc
87760fe750
put pidfile funcs in object on suggestion from davisp "but that's a
...
simple change"
2010-05-09 01:49:24 +02:00
benoitc
cbd91309fe
don't use a property, instead use simple function. spotted by davisp:
...
"It seems too magical to me"
2010-05-09 01:13:32 +02:00
benoitc
6d747d7701
fix typo spotted by jezdez, thanks!
2010-05-08 14:51:13 +02:00
Paul J. Davis
c515a91c4c
Fix typo spotted by Benoit
2010-05-07 19:29:47 -04:00
Paul J. Davis
6d2ee3af34
Updated config example with Benoit's suggestions.
2010-05-07 19:26:03 -04:00
Paul J. Davis
b2c45f1df4
Missing r-paren
2010-05-07 19:08:43 -04:00
Paul J. Davis
49521b81a5
Rewrote the sample config file.
...
Includes more information on each parameters and groups parameters
by area of interest.
2010-05-07 19:02:16 -04:00
Paul J. Davis
d1d88a805c
Fix line wrapping.
2010-05-07 19:02:16 -04:00
Paul J. Davis
2f553e0f36
Fixed typo spotted by greut
2010-05-07 13:34:05 -04:00
Paul J. Davis
6f92b91c59
Add a bit of info to the virtualenv notes.
2010-05-07 13:14:48 -04:00
Paul J. Davis
099a0b8465
Minor tweaks to the README.
2010-05-06 20:55:54 -04:00
Paul J. Davis
8382dfea5e
Updating webpage docs.
2010-05-06 20:55:38 -04:00
Paul J. Davis
c2af49cb12
Add license info to README
2010-05-06 19:55:29 -04:00
Paul J. Davis
aaeff8dcfd
Fix fake path name
2010-05-06 19:43:10 -04:00
Paul J. Davis
d70497dc56
RST is still touchy.
2010-05-06 19:41:34 -04:00
Paul J. Davis
8cd4071f0e
Fix up some minor formatting.
2010-05-06 19:40:35 -04:00
Paul J. Davis
99dbe28e98
That didn't work. Just plain text blocks now.
2010-05-06 19:36:49 -04:00
Paul J. Davis
90f5c91590
Blargh. RST is touchy stuff.
2010-05-06 19:36:17 -04:00
Paul J. Davis
b52d546651
Github doesn't like the .. note: syntax.
2010-05-06 19:35:40 -04:00
Paul J. Davis
32978af645
Fix #gunicorn link
2010-05-06 19:31:58 -04:00
Paul J. Davis
80ca1fd1f1
Forgot the setproctitle link.
2010-05-06 19:30:36 -04:00
Paul J. Davis
dc7544050b
Updating the README
2010-05-06 19:28:43 -04:00
Paul J. Davis
4bf5d8e4bd
Fix up docs and pushed to gh-pages.
2010-05-06 14:05:22 -04:00
Paul J. Davis
08af4598cd
Quick note on service monitoring.
2010-05-06 13:56:37 -04:00
Paul J. Davis
d91937d8ba
Added a note about Virtualenv.
2010-05-06 13:52:12 -04:00
Paul J. Davis
1a52eeccae
Added news items for 0.8.1
2010-04-29 14:28:28 -04:00