Michael Schurter
1a52dd2d84
Remove unneeded lambda
2011-05-11 23:11:03 +02:00
benoitc
6fa1c52aaa
fix import.
2011-05-11 23:11:03 +02:00
benoitc
78e3d08f96
add missing GeventWSGIWorker
2011-05-11 23:11:03 +02:00
benoitc
d79b2dce3f
add Denis Bilenko to the thanks
2011-05-11 23:11:03 +02:00
denis
70b962e626
fix typo catched by pyflakes
2011-05-11 23:11:03 +02:00
denis
2ab4bbf46f
fix compatibility with gevent 0.14 dev version
...
Move "import gevent.wsgi" into a separate module, which is not
imported if pywsgi worker is requested. (The gevent.wsgi currently
not provided by gevent trunk but pywsgi works fine.)
2011-05-11 23:11:03 +02:00
Aaron Kavlie
c74894f2a1
Added details on using runit to the site's deploy section.
2011-05-11 23:11:03 +02:00
benoitc
4ecc1441b9
i hate my kbd. Real fix
2011-05-11 23:11:03 +02:00
benoitc
a65bf395ae
fix fbsd support
2011-05-11 23:11:02 +02:00
benoitc
c17f7230e8
refactor sendfile and add an example.
2011-05-11 23:11:02 +02:00
benoitc
fc69d5e17c
useless debug info
2011-05-11 23:11:02 +02:00
benoitc
fcab6bc144
after multiple attempts it's easier to just reload the app. People using
...
mange.py have to use USR2 signal if they want to upgrade the django
version instread of HUP. On the other hand, upgrading django version
with HUP is possible with gunicorn_django command.
2011-05-11 23:11:02 +02:00
Paul J. Davis
6e13a0fcd9
Fixed another typo in the runit script.
2011-05-11 23:11:02 +02:00
Paul J. Davis
e22daee056
Fixed typo in deploy docs.
2011-05-11 23:11:02 +02:00
Paul J. Davis
4211be4df4
Reorder hook config section to be more logical.
2011-05-11 23:11:02 +02:00
Paul J. Davis
4ca391c0c7
Regenerate site content.
2011-05-11 23:11:02 +02:00
Paul J. Davis
9e6631e832
Fix hook function names.
...
The names were being rendered into the online docs and
causing confusion.
2011-05-11 23:11:00 +02:00
Paul J. Davis
d83c63429e
Empty chunks incorrectly signal end of response.
...
If an app iterator attempts to send an empty string to the client
while using chunked transfer encoding it incorrectly signals the
end of the transfer. This patch just ignores empty strings that
are yielded by the application.
2011-05-11 23:09:55 +02:00
Paul J. Davis
c71b9a88c2
Use the newer cpu_count method in docs.
...
Updated docs to show the use of the cpu_count function in the
multiprocessing module.
Thanks to Fabian Topfstedt for the update.
Fixes #202
2011-04-25 11:23:56 -04:00
benoitc
0b094ca08a
fix issue #195 . Thanks!
2011-04-24 09:32:55 +02:00
benoitc
f1d5f26dfa
django manage.py load settings before we launch every worker. This
...
change remove it from loaded modules on reload. While we are here we
remove any django module preloaded so we can upgrade django version to
on HUP. fix issue #197 .
2011-04-24 09:05:27 +02:00
benoitc
9cec1229fa
oups typo
2011-04-23 11:21:32 +02:00
benoitc
822baaac4c
typo
2011-04-23 11:06:36 +02:00
benoitc
26b67b135d
add community doc and link to mailing list
2011-04-23 11:04:32 +02:00
Paul J. Davis
560a4895d8
Fixed --pid option in deploy docs.
...
Thanks to Miguel Araujo for spotting it.
Fixes #198
2011-04-19 11:15:01 -04:00
benoitc
b9e710933b
Revert "Merge branch 'master' of github.com:benoitc/gunicorn"
...
This reverts commit ef9324d7b2fe68592594592382ba12c9c5ca8c5b, reversing
changes made to 1d00c5e09d144c82a76ab0803f04bec76d8b2e68.
2011-04-09 10:26:19 +02:00
benoitc
ec889bdd5b
change email per request.
2011-04-06 11:10:59 +02:00
benoitc
ef9324d7b2
Merge branch 'master' of github.com:benoitc/gunicorn
2011-04-06 11:10:31 +02:00
Paul J. Davis
98532facac
Silence warning from Compass.
2011-03-28 15:36:41 -04:00
benoitc
1d00c5e09d
bump version
2011-03-23 09:48:22 +01:00
benoitc
239010a476
update doc
2011-03-23 07:46:55 +01:00
benoitc
e10ae8b165
add Graham Dumpleton & Dan Sully to THANKS.
2011-03-23 07:37:40 +01:00
Dan Sully
4f96ccedc1
Catch ctypes import errors.
2011-03-23 07:37:40 +01:00
Graham Dumpleton
b7adfe2628
Add wsgi.file_wrapper optimisations for MacOS X/Linux.
2011-03-23 07:37:40 +01:00
benoitc
374bb7bfff
add pyramid app example
2011-03-23 07:32:37 +01:00
benoitc
5e6041cf81
update doc
2011-03-23 07:06:51 +01:00
benoitc
853b2ad37a
that's not a dev server.
2011-03-15 14:38:35 -04:00
benoitc
bf3f69cf2d
updated thanks. Thanks!
2011-03-14 23:38:32 -04:00
Neil Chintomby
06987d3702
add server hook "on_starting" to allow socket patching to allow gevent worker reloading.
2011-03-14 23:28:33 -04:00
Alex Robbins
974698671a
Moved the random seed method into a function.
...
Added a try/except block to catch NotImplementedErrors for platforms
that don't support urandom.
2011-03-14 23:10:09 -04:00
Neil Chintomby
5d6f6828f9
use try_files instead of if in the deploy example.
2011-03-14 16:22:18 -04:00
benoitc
dbc61f310e
fix issue #143 . unnecessary list().
2011-03-06 10:24:56 +01:00
benoitc
c21578df40
ctypes triggers selinux execmem denial
...
https://bugzilla.redhat.com/show_bug.cgi?id=488396
fix issue #168 . Thanks!
2011-03-06 10:14:52 +01:00
benoitc
50bcc22919
add Chris Lamb to THANKS
2011-03-06 10:04:56 +01:00
benoitc
4b2c04317c
Apply patch from Chris Lamb <lamby@debian.org> with minor revision.
...
Validate models before allowing connections via gunicorn_django
This prevents issues where the site is accepting connections but not all
of the models have loaded yet. If your model importing has side effects
(monkey-patching, etc) this can results in errors about missing attributes
or features simply because the code that enables those features as not been
run yet.
This issue does not affect the "run_gunicorn" management command as that
performs it's own model validation before allowing connections, so we are
simply making this consistent here.
Signed-off-by: Chris Lamb <lamby@debian.org>
2011-03-06 10:02:40 +01:00
Paul J. Davis
894e2d2526
Missing spaces in the error response.
2011-03-03 12:02:08 -05:00
benoitc
3fc530c162
this is just a warning, we don't really care about exceptions here.
2011-03-03 10:45:23 +01:00
benoitc
ba89a400dc
we don't do anythiung in __init__, remove these lines.
2011-03-03 10:36:14 +01:00
benoitc
14313985d6
add worker info at startup.
2011-03-03 10:05:16 +01:00
benoitc
7dd7b71523
patch from @davisp, ease the code.
2011-02-25 08:47:46 +01:00