132 Commits

Author SHA1 Message Date
benoitc
bcb3c003d4 doc: let django user know about the DJANGO_SETTINGS_MODULE env
improve the documentation to show the usage of the DJANGO_SETTINGS_MODULE
environment variable. related to #802.
2014-07-26 10:28:48 +02:00
benoitc
ce1b29f66b link tickets in the changelog 2014-06-28 18:08:49 +02:00
benoitc
3796d3efde fix typo 2014-06-28 18:05:45 +02:00
benoitc
75bf409d8f fix headers in news 2014-06-28 18:02:23 +02:00
benoitc
403acab3b1 update changelog 2014-06-28 17:59:34 +02:00
Benoit Chesneau
feae663092 typos in faq.rst 2014-06-27 10:28:03 +02:00
Benoit Chesneau
3b79f161f7 Update faq.rst
tell there is a wip about the thundering herd problem. Also put a not on how watch logs in the console since many people asked for it.
2014-06-27 10:26:01 +02:00
Thomas Grainger
2bde8eb103 Support loading config from module 2014-06-20 09:20:37 +01:00
Berker Peksag
83d97c25ca Fix a markup error in news.rst.
This commit also silences a couple of Sphinx warnings e.g.

    WARNING: Bullet list ends without a blank line;
    unexpected unindent.
2014-06-16 14:01:43 +03:00
Rhys Powell
c8b4f00266 Fixed spelling mistake
fixed spelling in TTOU description
2014-06-16 07:57:07 +01:00
benoitc
68cd2b92c8 Revert "check the python requirements for the gaiohttp server"
This reverts commit 4ac7e55161553503817dfbd01ccc5f263d163e69.
2014-06-14 12:05:00 +02:00
benoitc
4ac7e55161 check the python requirements for the gaiohttp server
fix #788
2014-06-14 11:59:32 +02:00
benoitc
1a3ab6490d fix #783 : link to the corresponding discussion in the changelog 2014-06-14 07:34:24 +02:00
benoitc
94ee1de00c update news 2014-06-14 07:13:05 +02:00
Randall Leeds
18355eff30 Add thundering herd question to FAQ
Close #784
2014-06-13 18:28:05 -07:00
Randall Leeds
412840215f Add multithread information to the design docs
Relates to #784
2014-06-13 18:28:05 -07:00
benoitc
39a1c3adad add the change to the news 2014-06-13 22:47:36 +02:00
Benoit Chesneau
94f2cc03e1 Merge pull request #786 from zeezooz/fix_signals
Change the rest of QUIT and TERM signals.
2014-06-13 22:40:03 +02:00
Andrew Burdo
ed2d2a8ab3 Change the rest of QUIT and TERM signals.
This will restore graceful shutdown of workers by master.
Also worker_int callback is moved from handle_exit (INT and TERM before switching) to handle_quit(INT and QUIT).
2014-06-13 14:32:11 +03:00
benoitc
9bf6aec443 add latest fix to changes.
note: it should come with the commit ...
2014-06-13 13:28:29 +02:00
Berker Peksag
1c68516fd7 Update custom application example.
It's running on both Python 2 and 3 now.
2014-06-13 14:26:57 +03:00
benoitc
c21c932343 asyncio workers doc link 2014-06-12 15:09:37 +02:00
benoitc
49a868f2a7 dot because we need one. 2014-06-12 14:55:57 +02:00
benoitc
d2e4d071a3 fix aiohttp link 2014-06-12 14:53:44 +02:00
benoitc
0fee3e5db2 update doc for the new workers 2014-06-12 14:50:22 +02:00
benoitc
c996deaf23 fix doc 2014-06-12 14:43:06 +02:00
benoitc
3c841b2f58 add changelog for 19.0 2014-06-12 14:38:55 +02:00
benoitc
5e8eeadc44 sync documentation
generally speakiing people shouldn't update the settings.rst but make
sure that settings.p is correctly filled.
2014-06-01 09:59:29 +02:00
Ben Oswald
9ade14ae78 add on_exit hook 2014-06-01 09:53:36 +02:00
Matt Robenolt
d7c7c59bdb Consistent usage of @proxy_to_app named location
This can be confusing since `location / {}` and `location @proxy_to_app {}` were both being used.
2014-05-26 20:24:09 -07:00
TedWantsMore
6248208ae0 Update deploy.rst 2014-05-21 15:49:50 -07:00
Randall Leeds
223ab2a3f3 Remove reference to unmaintained py24 branch 2014-05-17 17:04:29 -07:00
Berker Peksag
ecdae40c68 Sync settings documentation with gunicorn/config.py. 2014-05-18 03:01:18 +03:00
Randall Leeds
b492ee92e1 Merge pull request #756 from berkerpeksag/fix-markup-log-format-doc
Fix markup of the access_log_format documentation.
2014-05-17 16:44:30 -07:00
Berker Peksag
39dbe983c3 Fix markup of the access_log_format documentation. 2014-05-18 02:02:33 +03:00
Berker Peksag
f5f5461ab8 Fix a couple of typos. 2014-05-18 01:30:36 +03:00
Benoit Chesneau
bab40df767 Merge pull request #754 from berkerpeksag/sysconf-outdated-info
Remove an outdated paragraph about getting CPU information.
2014-05-18 00:06:37 +02:00
Berker Peksag
dcaf2d7f9b Remove an outdated paragraph about getting CPU information.
Python 2.5 or older versions are not supported by Gunicorn.

Also, fixed a typo: mentionned -> mentioned
2014-05-18 01:01:35 +03:00
Berker Peksag
109880a8c3 Update installation docs to mention about pip.
Other changes:

- Minor markup and style changes
- Use https in URLs
- Remove the "python setup.py develop" part from the
  documentation. It's useful for development.
2014-05-17 23:55:41 +03:00
Randall Leeds
63967597a0 Fix mixed up worker signal handling
Commit 81241907ffcf94517ffa14b8427205906b61b540 changed the signal
handling by switching the roles of `TERM` and `QUIT` for the arbiter
so that `TERM` is graceful and `QUIT` is not.

At the time, workers performed graceful shutdown on `QUIT` and quick
shutdown on `TERM` and `INT`. This behavior was also changed so that
`QUIT` (and `INT`) cause a quick shutdown and `TERM` is graceful.

However, the documentation incorrectly reversed the roles of the worker
signals and the arbiter was not updated to use the correct signals.

This commit fixes the documentation and the arbiter signals.
2014-05-13 11:12:01 -07:00
Randall Leeds
fd22ea24ae Merge pull request #727 from benoitc/feature/651
PR that rebase #651. Should also fix #625.

Add the capability to load gunicorn.base.Application without the
loading of the arguments of the command line.
2014-05-07 14:53:29 -07:00
Stéphane Wirtel
33d35a1a66 Work In Progress: Move the custom application section to a specific file and add it into the TOC 2014-04-30 11:41:18 +02:00
Stéphane Wirtel
a44807f9f5 Add an example of a standalone app 2014-04-22 21:48:57 +02:00
Benoit Chesneau
3bf6d0e770 Merge pull request #719 from bobzilladev/access-timing
Fix microseconds logging, add decimal seconds.
2014-04-13 09:53:25 +02:00
Sébastien Fievet
ce3f9e18bb Typo 2014-04-01 11:18:03 +02:00
Bob Hagemann
5361fff766 Fix microseconds logging, add decimal seconds.
Apache will log %D microseconds over 1 million for requests that take over a second, this change sync's that access log behavior since the formatting seems to be based on that. So a request that takes 1 second and 30 milliseconds will have 1000030 for this atom.

This pull request  also adds a %L atom for decimal seconds for a quick human-readable latency number. In the above example it would output 1.000030 to the log.
2014-03-27 11:33:16 -07:00
benoitc
1e8b375038 fix doc and make sure we get the --paste option 2014-03-09 07:28:46 -07:00
Randall Leeds
b35e368515 Remove references to deprecated console scripts 2014-03-08 18:21:36 -08:00
Randall Leeds
e5442332fe Support running specific paster apps from .ini
Close #400
2014-03-08 18:16:03 -08:00
benoitc
2edb2089ba update doc for django and paster integration
gunicorn_django and gunicorn_paster commands are now deprecated so
remove them from the doc. While I am here, update the integration doc.
2014-03-08 17:46:08 -08:00