Brett Randall
b014fa78ee
Various code improvements contributed by dilyanpalauzov.
...
These were originally based on 19.9.0 code and were rebased
with conflicts resolved.
Fixed #1690 .
Co-Authored-By: dilyanpalauzov <git-dpa@aegee.org>
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-07-17 07:32:11 +10:00
Wojciech Malinowski
d1f6a7788c
Code style
2019-06-06 15:22:14 +02:00
Wojciech Malinowski
5803f835f6
Added a possibility of logging the metrics to a Unix domain socket instead of UDP
2019-06-06 15:13:23 +02:00
Marwan Rabbâa
dc7b5d5c48
Fix compatility with tornado 6 ( #2001 )
2019-06-04 14:17:01 -07:00
Robert Coup
000236aae2
Docs.
2019-05-31 12:22:08 +01:00
Robert Coup
93d2687d24
f-strings only date back to Py3.6
2019-05-31 12:15:02 +01:00
Robert Coup
13c5d72bd1
Add --print-config option to print the resolved settings at startup.
2019-05-31 12:04:22 +01:00
Masashi SHIBATA
b15712924f
Import unittest.mock unconditionally ( #2050 )
2019-05-28 16:09:44 +03:00
c-bata
6df58a99b5
Remove util.import_module
2019-05-28 16:07:31 +03:00
Philippe Ombredanne
679c3727df
Fix typo in license text
...
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
2019-05-28 16:06:31 +03:00
Masashi SHIBATA
c435341e66
Remove fallback for types.SimpleNamespace ( #2049 )
2019-05-28 16:05:51 +03:00
Masashi SHIBATA
a13a2096ed
Use SourceFileLoader instead instead of execfile_ ( #2046 )
2019-05-26 22:09:52 +03:00
Masashi SHIBATA
3701ad9f26
Use importlib instead of __import__ and eval ( #2043 )
2019-05-22 22:07:02 +03:00
Randall Leeds
b12d364095
Merge pull request #2042 from c-bata/fix-typo4
...
Fix typo: connnection to connection
2019-05-22 12:08:35 -04:00
c-bata
85ec74fc10
Fix typo: connnection to connection
2019-05-20 22:24:45 +09:00
c-bata
aa8b258f93
Fix typo: treatement to treatment
2019-05-20 12:56:44 +03:00
c-bata
d4ff4b419c
Fix typo: peform to perform
2019-05-20 12:56:18 +03:00
c-bata
dc639e0d0e
Fix typo: hanle
2019-05-20 12:54:59 +03:00
Randall Leeds
13c833216e
Merge pull request #2036 from DeltaF1/patch-1
...
Update install.rst
2019-05-16 14:13:52 -07:00
DeltaF1
89c13491af
Update install.rst
...
Minor grammar/punctuation fixes
2019-05-16 14:05:50 -04:00
Sebastien Williams-Wynn
678b326dc0
Fix typo in --worker-class documentation ( #2030 )
2019-05-09 21:13:31 +03:00
Randall Leeds
a542a07773
Fix eventlet patching and bump required version
...
Fix eventlet patching by performing the patching before the
`init_process` method, which does not return, is called.
This fix depends on bumping the required version to 0.24.1, which
contains a fix for the monotonic clock. See the relevant commit:
eventlet/eventlet@82f1877
This commit reverts 120f503f68929ef98d721a406745a1dbbb9d83fe
Fix #1847
Fix #1884
2019-05-08 19:23:13 -07:00
Randall Leeds
ad941bdff4
Merge pull request #2024 from m2p-consulting/async-worker-clarifications
...
Emphasize that full greenlet support might need additional work
2019-05-08 18:12:35 -07:00
Jason Madden
78737074cf
Add Jason Madden to MAINTAINERS.
2019-05-06 14:40:38 -05:00
Armin Berres
c2e39fd1a7
Emphasize that full greenlet support might need additional work
2019-05-03 16:02:10 +02:00
Benoit Chesneau
cf8ac37ce4
Merge pull request #1969 from benoitc/wsgi_input_terminated
...
handle `wsgi.input_terminated` extension
2019-04-29 13:58:05 +02:00
Randall Leeds
0ecbb18287
Merge pull request #1504 from dblackdblack/add-datadog-tags
...
optionally send datadog tags with statsd
2019-04-27 19:12:07 -07:00
dblack
96dde54af1
optional datadog tags for statsd metrics
2019-04-27 18:49:47 -07:00
Brett Randall
879651bb6f
Header values are encoded using latin-1, not ascii.
...
This commit reverts one aspect changed by 5f4ebd2eb2b08783a5fbefe79d09fcb3fc1fbc73 (#1151 );
header-values are again encoded as latin-1 and not ascii. Test is restored but uses
a latin-1-mappable test-character, not a general utf8 character.
Fixed #1778 .
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-04-18 04:23:19 +03:00
Randall Leeds
cc8e67ea83
Fix new pylint errors
2019-03-16 16:11:23 -07:00
Hasan Ramezani
2b07f2be28
Rewrite parse_address util and add one test
2019-03-16 15:07:53 -07:00
Marat
a8963ef1a5
Remove redundant super() arguments
2019-03-16 15:00:07 -07:00
Andrew Widdersheim
a2a8bc1ae6
Move ThreadPoolExecutor() creation into own method
...
Move ThreadPoolExecutor() creation into it's own method so it is easier
to override when subclassing.
2019-02-21 09:28:47 -08:00
Andrew Widdersheim
5680320e5c
Simplify futures import
...
Commits e974f305 and 78208c8c removed support for Python 2 and Python
<3.4 respectively so the conditional logic for importing
`concurrent.futures` is no longer necessary as it has been part of the
standard library since Python 3.2.
2019-02-20 05:57:49 +03:00
Randall Leeds
2a0433e7ed
Update gunicorn/workers/workertmp.py
...
Co-Authored-By: skytoup <875766917@qq.com>
2019-02-17 14:37:37 +08:00
Benoit Chesneau
a4e249d9b0
Merge pull request #1985 from jat001/patch-1
...
worker_connections also affects the Gthread worker type
2019-02-13 19:18:32 +01:00
Jat
a1ffebcdb2
worker_connections also affects the Gthread worker type
2019-02-13 22:43:21 +08:00
Benoit Chesneau
770ec16c53
Merge pull request #1983 from benoitc/gh1978
...
corretly set max_requests
2019-02-08 13:40:03 +01:00
Benoit Chesneau
7ed20f6833
corretly set max_requests
...
fix #1978
2019-02-07 17:04:15 +01:00
Benoit Chesneau
194f47f92b
Merge pull request #1957 from benoitc/simplify-paste-integrations
...
Simplify Paste Deployment integration
2019-02-06 09:17:28 +01:00
Radosław Szalski
09cc75f94f
Fix typo in README.rst
2019-02-06 11:04:05 +03:00
Randall Leeds
9f87c88819
Bump minimum Eventlet and Gevent versions ( #1962 )
...
Update the Eventlet and Gevent worker classes to check for versions of
Eventlet and Gevent that are stable under Python 3 and remove outdated
compatibility code.
2019-01-25 08:24:14 +01:00
Benoit Chesneau
fe7632fe37
make sure all examples work on python 3
...
fix #1961
2019-01-24 23:19:38 +01:00
Benoit Chesneau
97a45805f8
remove gaiohttp worker ( #1971 )
...
* remove gaiohttp worker
worker is deprecated and won't work on latest version.
2019-01-24 23:05:28 +01:00
Daniel Pope
2ea5fbdc86
Use Python's default SSL cipher list by default ( #1970 )
2019-01-24 22:41:04 +01:00
Benoit Chesneau
e5141a1c5a
handle wsgi.input_terminated extension
...
fix #1653
2019-01-24 15:47:15 +01:00
l
54d35d7358
Fix #1965 : About gunicorn [CRITICAL] Worker Timeout
2019-01-23 22:09:08 +08:00
Randall Leeds
47e208717b
Update integration docs for Paste Deployment
2019-01-22 03:58:03 -08:00
Randall Leeds
61e136b922
Simplify Paste Deployment integration
...
Remove the `gunicorn_paster` command. With the `--paste` option to the
`gunicorn` command, Gunicorn will no longer read the server section of
the configuration. Instead, server configuration must be done with
Gunicorn configuration files, command line switches, and environment
variables.
The use of Gunicorn as a Paste Deployment server factory is no longer
deprecated. It allows specifying `host` and `port`, as well as `bind`,
but is otherwise more strict with options than in the past. Rather than
ignoring unknown options it will raise an error.
Close #1189
2019-01-22 03:58:03 -08:00
Takuya N
7af6f651c0
Add restructuredtext_lint to test ( #1598 )
...
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-01-22 11:56:49 +01:00