benoitc
bb79cdcc36
quick note about preloaded applications
2013-06-29 06:49:32 +02:00
benoitc
d49f9046c5
document a little more the signals handling
2013-06-29 06:39:37 +02:00
benoitc
cd90653fe3
fix non django application loading
...
fix error introduced in 423e203db944ea5b250e2816cbeb9c4741cc736f.
2013-06-29 06:25:18 +02:00
benoitc
ba945bd635
fix link syntax
2013-06-29 06:16:17 +02:00
benoitc
a55bfd5b0c
fix signals doc file extension
2013-06-29 06:12:34 +02:00
benoitc
434008419a
quick doc fixes
2013-06-29 06:09:52 +02:00
benoitc
e5242d4fde
add signals doc
...
add a brief description of the signals handled by Gunicorn.
fix #319
2013-06-29 06:04:51 +02:00
benoitc
d29febdb28
fix "Expect: continue-100" support on python 3
...
only bytes should be passed to the socket.
fix #560
2013-06-29 05:22:27 +02:00
benoitc
638ad129c8
fix doc abput python 3 support
2013-06-29 05:20:43 +02:00
benoitc
b6569361e9
add CONTRIBUTING doc
...
fix #473
2013-06-28 23:28:34 +02:00
Benoit Chesneau
a8ecbd5764
Merge pull request #551 from gauravkumar37/master
...
Fix to read the settings module specified while running via gunicorn command
2013-06-24 01:25:17 -07:00
benoitc
8dbfab5556
fix syslog in 2.6
...
socktype is only supported in 2,7 and sup.
fix #541
2013-06-24 09:39:43 +02:00
benoitc
4e0ffa0bd1
add Moriyoshi Koizumi to THANKS
2013-06-24 09:27:23 +02:00
Moriyoshi Koizumi
f5847a2a52
give the initial global_conf to loadcontext to initialize the context properly.
2013-06-24 09:26:59 +02:00
Randall Leeds
3fcd1b969c
Add niedbalski to THANKS
2013-06-23 10:59:15 -07:00
Randall Leeds
e6c120ffea
Merge pull request #552 from niedbalski/master
2013-06-23 10:56:25 -07:00
Jorge Niedbalski R
a716285ed0
Added coverage for get_default_config_file, also a test for default config overrides
2013-06-22 07:14:08 -07:00
Jorge Niedbalski R
c218792fa4
prevent call get_default_config_file if args.config exists
2013-06-22 06:48:01 -07:00
Jorge Niedbalski
cf6e765323
[gunicorn] added ``gunicorn.conf.py`` as default in case of no -c is specified
2013-06-21 15:30:31 -03:00
Randall Leeds
e255808012
Merge pull request #556 from seatgeek/post-init
...
Rename post_init for greater clarity
2013-06-20 17:55:24 -07:00
Philip Cristiano
dcfe825346
Rename post_init for greater clarity
...
Makes sense if you saw what it does, less if you just read the config option.
2013-06-20 19:40:03 -04:00
Benoit Chesneau
128b5a8901
Merge pull request #553 from romabysen/master
...
Add Upstart deployment example, remove Upstart from faq.
2013-06-20 16:39:31 -07:00
Randall Leeds
857e216e19
add Philip Cristiano to THANKS
2013-06-20 16:02:46 -07:00
Randall Leeds
cee5c57abc
Merge pull request #555 from seatgeek/post-init
...
Add post-init hook for workers
2013-06-20 16:01:06 -07:00
Philip Cristiano
ef6f831971
Add docs for post_init
2013-06-20 18:56:37 -04:00
Philip Cristiano
161d9ea676
Fix capitalization
2013-06-20 18:15:53 -04:00
Philip Cristiano
0ae7fd760d
Add post-init hook for workers
...
Allows a config specifying a function after a worker has been initialized and before the run loop
2013-06-20 17:39:46 -04:00
Lars Hansson
a49f4199e9
Add Upstart deployment example, remove Upstart from faq.
...
Add an Upstart deployment example and remove the Upstart entry in the
FAQ.
2013-06-19 00:21:05 +08:00
Jorge Niedbalski
54b4ffb68e
try to use cwd() + gunicorn.conf.py as default config if no file is specified . see #52
2013-06-17 16:44:02 -03:00
Gaurav Kumar
423e203db9
Fix to read the settings module specified by --settings or django_settings parameter
2013-06-17 22:15:46 +05:30
benoitc
e77d47cb97
don't raise an error when we close the socket.
...
fix #537
2013-06-05 10:44:20 +02:00
benoitc
9673b970d0
update THANKS
2013-06-05 10:34:07 +02:00
Benoit Chesneau
438a0e1c66
Merge pull request #532 from kevingessner/master
...
eventlet: after reaching max_requests, wait up to the graceful_timeout for currently-running requests to complete. fixes #511
2013-05-31 14:47:06 -07:00
Andreas Stührk
fa7fd6fed0
Use a WSGI "bytes-as-unicode" string for PATH_INFO under Python 3.
2013-05-27 08:33:58 +02:00
Kevin Gessner
567b4f6574
eventlet: after reaching max_requests, wait up to the graceful_timeout for
...
currently-running requests to complete. fixes #511
Requests that do not complete within the graceful timeout are killed.
2013-05-16 11:13:12 -04:00
benoitc
ca35dc7335
link to 0.17.4
2013-04-24 23:53:38 +02:00
benoitc
981e4112fe
bump to 0.17.4
2013-04-24 23:52:24 +02:00
benoitc
82099deff2
remove stupid change.
...
fix #519
2013-04-24 23:49:50 +02:00
benoitc
aaea6ea026
bump to 0.17.3
2013-04-24 10:15:04 +02:00
benoitc
3b6b771a71
aggregate Logging options
2013-04-23 17:14:55 +02:00
benoitc
db48dd355d
add systemd documentation
2013-04-23 16:51:24 +02:00
benoitc
6d2c5f8b08
0.17.3 doc.
2013-04-23 16:39:02 +02:00
benoitc
160db1f521
nginx way to set unix addresses
2013-04-23 16:29:31 +02:00
benoitc
532d1fffaf
document the use of PYTHONUNBUFFERED in config
2013-04-23 16:23:46 +02:00
Graham Dumpleton
32e4cf14df
Ensure that detaching from controlling terminals, but allow for redirection to files.
2013-04-23 16:23:46 +02:00
benoitc
29aefcc1cf
only close 0-2 fds when -R isn't specified
...
Following some discussion on IRC with @GrahamDumpleton this patch only
close stdios if -R isn't specified. It also let others fds open and
don't try to close them.
This should fix logging around and behave like other daemons. It should
also close #309 .
2013-04-23 16:23:46 +02:00
benoitc
cc7f595adc
Enable stdio inheritance.
...
Enable inheritance for stdio file descriptors in daemon mode. It allows
you in daemon mode to redirect the output to a file if needed.
By default in daemon mode gunicorn will close all file handle except if
you pass the "-R" options. In this cases STDIO will be preserved.
fix #309
2013-04-23 16:23:46 +02:00
benoitc
208df4ddd9
let the VM close the sockets on exit
...
Closing sockets when stopping the arbiter was also closing unix sockets
if any because they aren't attached to a specific process. So remove it
and let the vm close them if needed. This change fix the reload of the
binary.
fix #476
2013-04-23 08:38:03 +02:00
benoitc
8eda51267c
make sure to not override an existing file
2013-04-23 08:23:06 +02:00
benoitc
2e2432c91b
Revert "add GUNICORN_INHERIT_FDS environment variable support"
...
This reverts commit c9fcb25f51db9ae67f9585c93924e5af8b8bb8b8.
2013-04-22 19:05:31 +02:00