Mark Adams
bc20bea7d9
Add support for --reload-engine
...
Currently, gunicorn automatically uses the preferred reloader (inotify
if present with fallback to polling). However, it would be useful in
some scenarios if users could force polling.
The solution for this is to add a new configuration option called
'reload_engine' which takes one of three options: ['auto', 'poll',
'inotify'].
Fixes #1459
2017-02-14 19:49:37 +03:00
Benoit Chesneau
34a624ff59
Merge pull request #1456 from aconrad/couverture-io
...
submit coverage report to couverture.io
2017-02-09 14:51:25 +01:00
Alex Conrad
18459041b5
submit coverage report to couverture.io
2017-02-06 22:22:37 -08:00
Berker Peksag
748da13c17
Silence pytest warnings
2017-02-07 09:05:43 +03:00
Berker Peksag
31b8e48a78
Silence prospector warnings
2017-02-07 09:05:43 +03:00
Berker Peksag
461e186f5b
Integrate prospector into Travis CI
...
Closes #947
2017-02-07 09:05:43 +03:00
Alex Conrad
9b2f014eec
move pytest cli args to setup.cfg
2017-02-07 05:35:25 +03:00
Berker Peksag
5559f27ea2
Fix test_ssl
2017-02-06 09:18:41 +03:00
Berker Peksag
9c73259f71
Make ssl.PROTOCOL_SSLv23 default for --ssl-version
...
Fixes #1249
2017-02-06 09:10:35 +03:00
Berker Peksag
577c3eb030
Use the best available reloader when --reload is passed
...
Fixes #1422
2017-02-06 07:32:14 +03:00
Benoit Chesneau
91807e8b90
Merge pull request #1446 from RyPeck/1045/minor-tweaks-to-docs-for-threads-setting
...
Doc tweaks around threads setting
2017-02-06 04:48:49 +01:00
Berker Peksag
2f3ebdc5a6
Fix typo in NEWS entry
2017-02-05 06:11:46 +03:00
Berker Peksag
c517aefabd
Silence a Sphinx warning
2017-02-05 05:58:01 +03:00
Berker Peksag
3da2f88dfe
Delete deprecated gunicorn_django command and --settings option
2017-02-05 05:57:41 +03:00
Berker Peksag
cb512715fe
Fix markup
2017-02-05 01:30:17 +03:00
Berker Peksag
bbaf078309
Add versionadded marker to child_exit documentation
2017-02-05 01:29:06 +03:00
Berker Peksag
9fad8ab6f5
Remove outdated documentation about using entry points
...
Closes #1365
2017-02-05 01:24:49 +03:00
Benoit Chesneau
bd19be1b61
Merge pull request #1414 from benoitc/fix/1091-pidfile-eperm
...
Fix/1091 pidfile eperm
2017-02-01 14:14:13 +01:00
Berker Peksag
55a01887a3
Tweak signal handling documentation
2017-02-01 01:03:42 +03:00
Benoit Chesneau
21ffa92be1
Merge pull request #1394 from jonashaag/master
...
Add child_exit() callback to configuration
2017-01-27 16:00:58 +01:00
Ryan Peck
55e15323ac
Doc tweaks around threads setting
...
In response to #1045 minor tweaks to the documentation to emphasize that
the `--threads` setting is only applied to the `gthread` worker.
2017-01-25 23:14:22 -05:00
Berker Peksag
b712c682f1
Document pidfile naming format change in 19.6.0
...
Fixes #1382
2017-01-23 07:46:20 +03:00
Berker Peksag
6b59758b2a
Fix Sphinx warnings
2017-01-23 07:44:53 +03:00
Berker Peksag
094c73ba10
Add links for settings
...
Conflicts:
docs/source/settings.rst
2017-01-23 07:25:18 +03:00
Berker Peksag
146a769afa
Add new Python versions to build matrix
...
Also update package metadata.
Fixes #1439
2017-01-22 08:18:02 +03:00
Hasan Ramezni
e9a00b75c5
add empty line after some tests.
2017-01-17 20:37:02 +03:00
Hasan Ramezni
e007601f0d
test error message in test_invalid_enviroment_variables_config test.
2017-01-17 00:55:45 +03:00
Hasan Ramezni
79a9697df2
update pytest version to 3.0.5
2017-01-15 23:34:23 +03:00
Hasan Ramezni
bb2496db7b
test_cmd_line_invalid_setting added.
2017-01-15 23:34:23 +03:00
Berker Peksag
243a277da8
Fix typo
2017-01-13 12:25:54 +03:00
Berker Peksag
9e311e1838
Fix versionadded value and tweak --paste-global docs
2017-01-13 12:22:47 +03:00
Berker Peksag
7315721a37
Sync settings.rst with gunicorn/config.py
2017-01-13 12:16:39 +03:00
Berker Peksag
91892205bf
Strip trailing whitespace
2017-01-13 12:15:42 +03:00
Hasan Ramezani
3b853b0455
Document GUNICORN_CMD_ARGS ( #1425 )
2017-01-13 12:08:52 +03:00
Randall Leeds
d18a9cd12f
catch access denied to pid file
...
fix #1091
2017-01-11 19:52:16 -08:00
Randall Leeds
22de9c5693
add pidfile validate tests
2017-01-11 19:52:15 -08:00
Saeed Gharedaghi
ab444eed50
change __dict__ to vars function
...
Back gunicorn/argparse_compat.py gunicorn/six.py files changes
Back run_gunicorn.py file changes
2017-01-11 23:07:20 +03:00
Hasan Ramezani
3f9eace246
Add ability to pass settings to GUNICORN_CMD_ARGS. ( #1385 )
2017-01-08 16:41:28 +03:00
David McInnis
7dd8793dcf
only have essential nginx.conf settings ( #1424 )
2017-01-08 04:03:08 +03:00
benoitc
467834ca0c
bump to 19.7
2017-01-08 01:41:33 +01:00
benoitc
f0f44cddd3
fix comment
2017-01-08 01:40:18 +01:00
Benoit Chesneau
1db805c7f6
no fds are given by default in gunicorn
...
fix #1423
2017-01-05 22:34:34 +01:00
vishesh92
c54426c1e4
Minor fixes in docs and doc's code style ( #1361 )
2016-12-28 19:02:32 +03:00
Randall Leeds
0be7996885
Refactor socket activation and fd inheritance ( #1310 )
...
Track the use of systemd socket activation and gunicorn socket inheritance
in the arbiter. Unify the logic of creating gunicorn sockets from each of
these sources to always use the socket name to determine the type rather
than checking the configured addresses. The configured addresses are only
used when there is no inheritance from systemd or a parent arbiter.
Fix #1298
2016-12-27 14:01:20 -08:00
Randall Leeds
8dbb2963b2
allow --reload without any value ( #1416 )
...
The documentation suggests that the value is optional, but without
this change it is not.
2016-12-26 18:12:17 -08:00
崔志萍
ee47b0030d
threadWorker cancelled request should decrease nr_conns ( #1387 )
2016-12-23 16:02:50 -08:00
Randall Leeds
bc5ae5d457
format boot tracebacks properly with reloader ( #1415 )
...
fix #1408
2016-12-23 10:56:07 -08:00
Berker Peksag
4933aedede
Sync settings docs with gunicorn/config.py
2016-12-22 22:02:44 +03:00
Berker Peksag
712a502d62
Cleanup trailing whitespaces
2016-12-22 22:00:46 +03:00
Berker Peksag
8fe132b39c
Tweak WorkerTmpDir docs
2016-12-22 22:00:27 +03:00