819 Commits

Author SHA1 Message Date
benoitc
16fd5d3c20 remove some useless code. pyflakes my friend. 2010-12-22 19:52:34 +01:00
benoitc
c90ecd1eba put back murder_workers. We are not sure there isn't a border effect with
active_workers patch. So postpone it for 0.12.1 waiting more feedbacks
and tests. "<davisp> Sounds good ot me"
2010-12-22 18:34:57 +01:00
Paul J. Davis
07f0c0f21d Fixes signal reaction times.
After messing around trying to make this more elegant we've decided to
just slap a 1s poll to the thing which seems to fix various bugs in the
async event handling.
2010-12-20 08:15:45 -05:00
benoitc
3ef8688fcc fix issue #137. Use our own way to unlink temporary files so we can set
permissions and umask on it.
2010-12-20 13:51:03 +01:00
benoitc
8eca403d89 only 2 values to print. 2010-12-13 11:18:41 +01:00
benoitc
0716a3bd84 fix issue #136. thanks 2010-12-13 11:17:54 +01:00
Paul J. Davis
80594c5442 Fix errors spotted by jturnball. 2010-12-12 18:12:33 -05:00
benoitc
2e39db265c rather than sleeping the timeout, just test if time is elapsed, then
notify. Speed graceful reload and exit.
2010-12-12 22:57:50 +01:00
benoitc
7ac83b918e typo 2010-12-12 22:20:20 +01:00
benoitc
f0a4dc493f update doc. 2010-12-12 22:18:41 +01:00
benoitc
df6855f310 improve settings module import. Fix issues #127 & #128 . thanks to
gnublade for patches and feedback.
2010-12-12 21:24:50 +01:00
Paul J. Davis
1f8f4228f0 Reformat help string for command line display. 2010-12-12 12:09:23 -05:00
Paul J. Davis
7f800c0eeb Slight rewording for the Keep-Alive FAQ. 2010-12-12 12:07:25 -05:00
benoitc
73d7e906a9 support logging config file in erlir python versions. 2010-12-12 17:00:19 +01:00
benoitc
b1816dd012 remove some spaces. 2010-12-12 16:27:24 +01:00
benoitc
8e80328114 add support for logging configuration using a ini file. It uses the
standard Python logging's module Configuration file format
(http://docs.python.org/library/logging.html#configuration-file-format)
and allows anyone to use his custom file handler. Fix issues #117 and #111.
2010-12-12 16:13:10 +01:00
benoitc
a8e34ac16c send appropriate error status on http parsing. Fix issue #132. 2010-12-12 14:16:31 +01:00
benoitc
b62055d529 fail sooner on user and group error. Fix issue #75.
Note: the process could be extended to other variable that need specific
parsing.
2010-12-12 12:38:47 +01:00
benoitc
c4312b94c9 keepalive faq. 2010-12-12 10:47:05 +01:00
Randall Leeds
29a8254b22 don't kill old workers until new ones are active 2010-12-02 12:30:57 -05:00
benoitc
0993567657 fix manifest 2010-12-02 10:48:32 +01:00
benoitc
95520d4728 set permissions of the pidfile so other user can read it and use it. 2010-11-24 16:35:33 +01:00
benoitc
53ec6b02a5 split is enough 2010-11-20 22:01:12 +01:00
benoitc
46bde6af85 add multidomainapp example from Anand Chitipothu. Fix issue #99. Thanks! 2010-11-20 21:18:32 +01:00
benoitc
09e243d6f6 ipv6 support in gunicorn. fix ticket #107. 2010-11-20 21:04:03 +01:00
benoitc
108ccb7690 'm tired of this versionning based on git for dev. Not really useful
since noone use it and force sometimes to have to reinstall in
virtualenv.
2010-11-20 19:20:58 +01:00
benoitc
ac1688fe9b fix temporary file leaking . 2010-11-20 16:51:52 +01:00
benoitc
0c00019312 should fix problem with import when using gunicorn_django command line.
Also try to detect project path so we don't need to set the PYTHONPATH
every time we use the DJANGO_SETTINGS_MODULE environment variable.
2010-11-18 14:57:05 +01:00
Paul J. Davis
e591059358 Set the number of workers to zero on WINCH.
We need to update the number of workers so they aren't restarted
the next time the arbiter wakes up and runs manage_workers. Also
fixed a typo for the log statement.

Thanks to Randall Leeds for the report and patch.
2010-11-15 21:37:15 -05:00
benoitc
5e83c3c704 fix issue spotted by oit on github. 2010-11-12 14:35:17 +01:00
Paul J. Davis
625b858df0 Fix DjangoApplicationCommand constructor. 2010-11-11 11:32:25 -05:00
benoitc
bc2d0112a8 use only git shorttag with 'develop' command, also don'ty load it each
time. spotted by @davisp .
2010-11-10 19:28:18 +01:00
benoitc
f29c610916 we aren't the leader all the time. 2010-11-10 19:02:37 +01:00
Paul J. Davis
fc96d45838 Set the correct Connection header in sync workers.
We forgot to force this when we changed to HTTP/1.1 responses for the
async worker classes. Thanks to @russss on Twitter for the report.
2010-11-08 12:55:08 -05:00
Paul J. Davis
011ae33c0a Make sure that post_request is called.
Fixes #119
2010-11-03 13:28:48 -04:00
benoitc
1dad259ba4 we are releasing today not yesterday. 2010-10-30 10:48:57 +02:00
Ben Cochran
e7938fa3df Fixed incorrect example config. (Since 036f8b5 it's been pre/post for hooks, not before/after) 2010-10-30 15:56:23 +08:00
benoitc
2ad2a61f0c fix issue #104. 2010-10-29 05:58:09 +02:00
benoitc
658296f717 bump to 0.11.2 2010-10-29 05:42:42 +02:00
benoitc
3b9ae15bc3 Merge branch 'master' of github.com:benoitc/gunicorn 2010-10-28 06:14:59 +02:00
benoitc
95a4af2a9c display the right error when a worker can't be used. 2010-10-28 06:13:57 +02:00
benoitc
939b459c38 don't notify so much the arbiter. spotted by @davisp & @prencher . tests are ok. 2010-10-28 06:13:45 +02:00
benoitc
47e87df132 display the right error when a worker can't be used. 2010-10-28 06:05:01 +02:00
benoitc
f92a5409f5 don't notify so much the arbiter. spotted by @davisp . tests are ok. 2010-10-28 05:44:01 +02:00
benoitc
be1990007d fix issue #110, handle environment variable (DJANGO_SETTINGS_MODULE by
default) to find setting module. Thanks for the feedback!
2010-10-25 19:17:46 +02:00
benoitc
c6f1a56f19 add Oliver Tonnhofer to the THANKS. 2010-10-22 09:24:42 +02:00
benoitc
e33999a870 reuse the code. 2010-10-22 07:11:32 +02:00
benoitc
cae9b0bece fix gunicorn paster. Now we have real HUP with paster. Also use paster
logging everywhere.
2010-10-22 06:59:46 +02:00
Oliver Tonnhofer
d546d490e5 add support for logging configuration in paster ini-files 2010-10-22 05:49:49 +02:00
benoitc
fce191c0db fix issue #106. Thanks for the report. 2010-10-22 05:20:21 +02:00