Zoltán Nagy
f1bb0342ec
Clarify documentation of graceful_timeout
2015-11-02 08:49:13 +01:00
Randall Leeds
821123d48f
Merge pull request #1128 from NextThought/1126-gevent-time
...
Make the gevent workers handle the quit signal by deferring to a new greenlet
2015-10-26 10:41:21 -07:00
Randall Leeds
50a40b52b6
Merge pull request #1132 from bungoume/add-accesslog-params
...
Add accesslog params
2015-10-22 11:37:05 -07:00
Berker Peksag
e6d63891c9
Merge pull request #1133 from bungoume/update-docs
...
Fix config description of accesslog user-name params
2015-10-21 20:52:08 +03:00
y.umezaki
7dd8a53c8c
Add accesslog params
...
Fix KeyError
Update access logger tests
Update settings.rst docs
2015-10-22 02:28:35 +09:00
umezaki
03cd031b06
Fix accesslog params description
2015-10-22 02:02:13 +09:00
Jason Madden
fb96a9ae69
Make the gevent workers handle the quit signal by deferring to a new greenlet. Fixes #1126 .
2015-10-15 18:13:35 -05:00
Benoit Chesneau
9158ab20f8
Merge pull request #1127 from nickstenning/paste-respect-global-defaults
...
Respect defaults when running a paster application
2015-10-15 16:36:17 +02:00
Nick Stenning
b135c0570f
Respect defaults when running a paster application
...
The values of both the 'workers' and 'umask' settings have global
defaults. In the case of 'workers', this global default can be
overridden by the WEB_CONCURRENCY environment variable, which prior to
this commit is ignored by `gunicorn --paste`.
Removing this duplication of defaults allows `gunicorn --paste` to
respect settings from:
- the environment (WEB_CONCURRENCY)
- the paste configuration file
- CLI flags
2015-10-15 14:10:49 +02:00
Benoit Chesneau
44ac4e457f
inherit from Exception where it needs to be
...
inherit from Exception where it needs to be and document why we use BaseException.
fix #997
2015-10-09 07:48:18 +09:00
Randall Leeds
9e9f1b6cca
Merge pull request #1106 from keakon/master
...
remove checking timeouts while graceful stopping tornado worker
2015-10-08 10:18:09 -07:00
keakon
5708d1d23b
remove checking timeouts
2015-10-08 12:20:43 +08:00
Berker Peksag
e1912db59a
Fix a Sphinx build warning.
2015-09-26 11:34:18 +03:00
Berker Peksag
353f610c1e
Do not duplicate nginx config files.
...
Fixes #1050
2015-09-26 11:33:12 +03:00
Randall Leeds
ed9d5dd824
Merge pull request #1115 from benoitc/fix/627
...
makes sure that file handles are correctly reopened on HUP
2015-09-24 12:20:24 -07:00
benoitc
2221225969
makes sure that file handles are correctly reopened on HUP
...
This change makes sure we don't recreate the Logger class here so we
don't reinitialise the log handlers.
fix #627
2015-09-23 14:00:35 -07:00
Berker Peksag
12b4862c1b
Merge pull request #1117 from lovedboy/webpy
...
add web.py frameworks example
2015-09-22 16:37:35 +03:00
lovedboy
ac4292f60e
add web.py frameworks example
2015-09-22 21:09:19 +08:00
Berker Peksag
811ea7880e
Unpin mock 1.0.1 since it has support for Python 2.6.
2015-09-20 06:52:55 +03:00
Berker Peksag
5b823e283c
Merge pull request #1112 from tnir/update-install-doc
...
Update Debian/Ubuntu installation instructions.
2015-09-09 12:04:38 +03:00
Takuya Noguchi
db2c2488cb
Remove installation guide for Ubuntu lucid.
2015-09-09 16:19:26 +09:00
Takuya Noguchi
46b70016d2
Update Debian/Ubuntu installation instructions.
2015-09-09 01:51:22 +09:00
Berker Peksag
9c1d4424e0
Merge pull request #1102 from ephes/latin1_headers
...
ISO-8859-1 encoded http headers
2015-08-31 06:55:04 +03:00
Jochen Wersdörfer
338721ac56
encode http headers as latin1 RFC 2616
2015-08-29 11:16:58 +02:00
Benoit Chesneau
209a605a33
Merge pull request #1105 from tumb1er/ssl_gaiohttp
...
SSL support for gaiohttp worker
2015-08-25 15:23:49 +02:00
tumb1er
21c7e106a3
SSL support for gaiohttp worker
...
Initialize and pass `SSLContext` to `asyncio.loop.create_server` to enable ssl support.
2015-08-25 16:15:46 +03:00
Berker Peksag
d9a69de63e
Merge pull request #1104 from vihangd/fix_docs
...
Fixed documentation for worker class
2015-08-25 08:42:49 +03:00
Vihang D
8de5eb9b15
Fixed documentation for WORKERCLASS
2015-08-25 10:55:50 +05:30
Benoit Chesneau
a132ca97c8
Merge pull request #1078 from preo/reduce-arbiter-noise
...
Only log '[num] workers' message when it changes.
2015-08-19 21:02:52 +02:00
Robert Estelle
e028710872
Make last logged worker count an explicit instance var.
2015-07-23 18:14:02 -04:00
Benoit Chesneau
89562c776e
Merge pull request #1088 from benoitc/fix/905
...
don't close the unix socket when the worker exit
2015-07-23 23:50:45 +02:00
benoitc
64a5b5cdf3
don't close the unix socket when the worker exit
...
When the worker was exiting, eventlet is closing the listening socket in th
worker. Since the socket instances are shared, this was also removing the unix
socket on close. This change make sure that the socket can only be closed by
its parent (where the socket have been bound).
While I'm here, also make sure we don't use any blocking function in eventlet
while switching).
fix #965
2015-07-22 06:22:24 +02:00
Robert Estelle
6f6ec92c4e
Store last logged worker count.
...
This is easier and safer than only logging when we detect that
self.WORKERS has changed or that `spawn_worker` or `kill_worker` has
been done.
2015-07-19 16:09:27 -04:00
Robert Estelle
09357ed3c4
Only log '[num] workers' message when it changes.
...
Otherwise when debug logging is on, the message prints every second even
with no system activity.
2015-07-19 15:56:58 -04:00
Slava Shklyaev
0d86a9094d
Improve markup of settings.rst
2015-07-15 04:10:15 +03:00
Berker Peksag
725f5cdeb1
Merge pull request #1083 from benoitc/travis-use-cache
...
Use travis cache
2015-07-14 15:18:52 +03:00
Berker Peksag
97428ed083
Merge pull request #1082 from benoitc/travis-container-based
...
Use the travis container-based infrastructure
2015-07-14 01:40:42 +03:00
Randall Leeds
e2a3d52a79
Use travis cache
2015-07-13 14:43:10 -07:00
Randall Leeds
ec84c80c75
On pypy3 IOError is not OSError
2015-07-13 14:32:01 -07:00
Randall Leeds
c054bddd1a
Use the travis container-based infrastructure
2015-07-13 12:52:52 -07:00
Berker Peksag
9d13c68a71
Fix tox format.
...
tox is a joke.
2015-07-13 15:22:20 +03:00
Berker Peksag
caf7a1946d
Install mock 1.0.1 on Python 2.6.
...
Fixes #1081
2015-07-13 15:16:01 +03:00
Benoit Chesneau
f5a2942d8a
Merge pull request #1080 from malept/clarify-pythonpath-docs
...
Clarify pythonpath setting description
2015-07-13 11:04:57 +02:00
Mark Lee
a33f6ea602
Clarify pythonpath setting description
...
Show that setting multiple paths requires using a comma-separated list.
2015-07-12 18:13:17 -07:00
Berker Peksag
ec3664dd30
Merge pull request #1068 from slava-sh/836-add-config-type-prefix
...
Prefix config file with its type
Fixes #836
2015-07-09 10:59:29 +03:00
Randall Leeds
d971eb4464
Merge pull request #1042 from brijeshb42/master
...
Updated gunicorn/pidfile.py
2015-07-08 23:33:31 -07:00
Brijesh Bittu
db786ce90e
Removed or 0
...
Removed `or 0` to raise `ValueError` for empty pidfile or pidfile with invalid contents.
2015-07-09 11:44:14 +05:30
Brijesh Bittu
68a944088e
Update pidfile.py
...
Return directly in the `except` instead of checking again for zero (as suggested by @benoitc and @tilgovi)
2015-07-09 10:38:14 +05:30
Benoit Chesneau
27df1339ce
Merge pull request #1071 from wosc/1061-log-uri
...
Include request URL in error message.
2015-07-08 20:55:34 +02:00
Berker Peksag
b5d188422e
Tweak some examples.
...
* Return bytes in Python 3
* Activate wsgiref.validate.validator
* Remove unused imports
2015-07-08 13:53:19 +03:00