399 Commits

Author SHA1 Message Date
Alex Hill
d8a1256065
Document that gthread also uses worker_connections
The `ThreadWorker` uses `worker_connections` it in its run loop to limit how many connections are accepted.
2020-12-10 16:10:50 +08:00
Gastón Avila
b80a329354
Correction on default value for config file (#2408)
Running gunicorn project.app while having a file called gunicorn.conf.py
in the current directory will read configuration from that file and actually fail
if the file raises an exception.
2020-08-22 20:13:02 +03:00
Sanjay
4b9afb47bd
Probably a typo 2020-06-08 11:38:20 +05:30
Dustin Ingram
6aab4decde Add additional missing docs 2020-05-15 03:30:08 +03:00
Ewoud Kohl van Wijngaarden
4ababc368b
Correct systemd socket activation example 2020-05-05 12:49:22 +02:00
Randall Leeds
bac7f0300b
Merge pull request #1450 from hramezani/issue_1359
Specify wsgi_app in config
2020-05-03 16:03:07 -07:00
Hasan Ramezni
57a9e2eb7e Specify wsgi_app in config #1359. 2020-05-01 01:11:21 +02:00
Randall Leeds
b2dc036463
Merge pull request #2292 from di/document-infinite-timouts
Document --timeout 0
2020-04-22 11:09:20 -07:00
Randall Leeds
ee685e197b Merge pull request #2054 from rcoup/2052-print-config 2020-04-20 12:40:57 -07:00
Dustin Ingram
57b8cdffae
Document --timeout 0 2020-03-16 17:29:07 -05:00
Randall Leeds
7d8c92f48a
Merge pull request #2253 from kmichel-sereema/2247-document-environment-variables
Document environment variables and $PORT
2020-01-31 09:42:16 -08:00
Kevin Michel
83b78e09c1 Document the default name and path for the configuration file 2020-01-31 09:48:14 +01:00
Kevin Michel
a648f8a838 Document how environment variables impact configuration 2020-01-31 09:48:14 +01:00
Kevin Michel
c82996f791 Add documentation for the $PORT environment variable 2020-01-30 15:34:37 +01:00
Anmar85
d307045984
Add milliseconds option to request_time in access_log (#2218)
Add milliseconds option to request_time in access_log
2020-01-30 15:29:25 +01:00
Brett Randall
2ec7493bcb
Updated requires Python to >= 3.5. 2020-01-01 12:58:43 +11:00
monobaila
cfc93ad701 Update FAQ - Workers Silently Killed. 2019-12-15 09:31:16 +01:00
Wesley Ellis
5a57d595c5 Fix sample command syntax highlighting in run.rst
Extra `:` was causing the syntax highlighting to mess up, resulting in the docs containing the `..code-block:: text` markup
2019-12-14 07:01:56 +03:00
benoitc
5d0c778300 bump to 20.0.4 2019-11-26 20:38:04 +01:00
benoitc
f646bdee39 fix bad cherry-picking 2019-11-25 23:15:22 +01:00
benoitc
8b64aaedd5 changelog for the 20.0.3 2019-11-25 23:05:10 +01:00
benoitc
b4e52c181a make config doc more explicit
explicit what we mean by "not need to be importable".
2019-11-25 22:44:25 +01:00
benoitc
9538358511 config file extension should be a python extension
This change make it clear what is configuration file for Gunicorn.
Using a filename with an extension different than a python extension
was never supported. Also it gives us some room for a proper config file.
2019-11-25 22:44:25 +01:00
Randall Leeds
20774b8331 Remove support for bdist_rpm 2019-11-24 17:44:47 +01:00
benoitc
911f7057ef bump to 20.0.2
fix changelog
2019-11-23 11:40:42 +01:00
benoitc
83bfe9e737 fix typo 2019-11-23 11:29:23 +01:00
benoitc
a4803a48a6 fix 19.10 version in doc 2019-11-23 11:25:44 +01:00
benoitc
333dc9bb4d fix doc title 2019-11-23 11:18:09 +01:00
benoitc
e3659e8adc document 20.0.1 change 2019-11-23 10:39:04 +01:00
benoitc
ef7d10853d add 19.9.10 changelog 2019-11-23 10:16:51 +01:00
benoitc
441977f57c only support python >= 3.5
python 3.4 is unsupported and we should focus on offering stable
features than backporting some code to this version
2019-11-22 23:03:30 +01:00
benoitc
1aa9cf0529 fix faq
correct the versions when we changed logging to the console.
2019-11-22 21:12:03 +01:00
Randall Leeds
c25563fa95 Add Paste Deploy changes to Breaking Change list 2019-11-22 09:58:06 -08:00
David Lord
19cb68f4c3 load application from factory function (#2178)
* load application from factory function

Use `ast.parse` to validate that the string passed to the CLI is either
an attribute name or a function call. Use `ast.literal_eval` to parse
any positional and keyword arguments to the function. Call the function
to get the real application.

Co-authored-by: Connor Brinton <connor.brinton@gmail.com>

* test coverage for util.import_app

* document app factory pattern
2019-11-19 23:09:53 +01:00
Benoit Chesneau
c1f17a084e doc enhancements. 2019-10-30 17:52:01 +01:00
Benoit Chesneau
83e07e5cf3 Fixed linting error in changelog 2019-10-30 17:40:35 +01:00
Benoit Chesneau
a1bb7a935a add 20.0 changelog 2019-10-30 17:15:29 +01:00
Benoit Chesneau
9edf8e8159 add 2018 changelog doc 2019-10-30 16:15:48 +01:00
John Whitlock
40d22ae38d Add setproctitle to extras_require (#2094)
This allows you to specify that you want setproctitle installed so that
gunicorn can set meaningful process names at install time or in a
requirements file.
2019-08-20 03:27:59 +03:00
Robert Coup
000236aae2 Docs. 2019-05-31 12:22:08 +01: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
Armin Berres
c2e39fd1a7 Emphasize that full greenlet support might need additional work 2019-05-03 16:02:10 +02:00
dblack
96dde54af1 optional datadog tags for statsd metrics 2019-04-27 18:49:47 -07:00
Jat
a1ffebcdb2
worker_connections also affects the Gthread worker type 2019-02-13 22:43:21 +08: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
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
Randall Leeds
47e208717b Update integration docs for Paste Deployment 2019-01-22 03:58:03 -08:00
Randall Leeds
e0f177ca45 Fix code block formatting in docs 2019-01-22 00:59:41 -08:00