1853 Commits

Author SHA1 Message Date
Collin Anderson
fcde3f0e6e example django app: removed warnings on django 1.8
compatible with django 1.4+
2014-09-09 11:29:49 -04:00
Berker Peksag
3020d0e1ee Merge pull request #876 from eric-fish/master
Small fixes to README.rst
2014-09-09 14:21:38 +03:00
Randall Leeds
0e31ed3dde Merge pull request #865 from benoitc/fix/863
fix race condition error
2014-09-08 23:25:26 -07:00
benoitc
34eb1b63f9 only get last update of the worker once when checking oldest
spotted by @tilgovi, a race condition is possible when making 2
consecutive calls to the last_update function, so only get it once.
2014-09-09 07:23:56 +02:00
eric-fish
4ef1d0465b Small fixes to README.rst
* Correct capitalization of the Python Package Index acronym
* Change `heldeup` to `held up`
2014-09-08 19:00:36 -06:00
Randall Leeds
6fe928077c Merge pull request #873 from collinanderson/patch-2
removed supervisor.conf autostart=true
2014-09-05 18:16:39 -07:00
Collin Anderson
c9fc89d11e removed supervisor.conf autostart=true
it's true by default.
2014-09-05 17:38:25 -07:00
Randall Leeds
d0e45c8fab Merge pull request #869 from getcwd/master
arbiter: reopen log files first then signal workers
2014-09-05 16:28:28 -07:00
Berker Peksag
6a712158b8 Merge pull request #870 from zatan/supervisor-update
Fix supervisor.conf example
2014-09-06 00:26:40 +03:00
Edvinas Jurevicius
69c16db93c Fix supervisor.conf example 2014-09-05 22:20:26 +01:00
root
f7151821c6 arbiter: reopen log files first then signal workers
Workers may run under different uid/gid and don't have permission
to create log files. After master opens log files and makes them
rw-able when default umask is used, workers will be able to open
them upon receiving USR1.
2014-09-04 15:47:14 -07:00
Randall Leeds
76ab68739e Fix logging settings link in deploy docs 2014-09-03 12:46:34 -07:00
Benoit Chesneau
463695c39e Merge pull request #864 from collinanderson/patch-1
remove useless X-Real-IP header
2014-08-30 09:43:07 +02:00
benoitc
4fe426cd66 fix race condition error
When the worker exited the tempfile is not available anymore so we can't
get the last update and calculate the dynamic timeout introduced in
d76bab4d716fed3f965fbde4ba1a1bba975f03d1 .

This changes fix it by catching the IO error.

fix #863
2014-08-30 09:41:08 +02:00
benoitc
49d50c81e9 bump pytest version requirement
fix issue when testing with travis-ci.
2014-08-30 09:40:19 +02:00
benoitc
fbac9fe54a bump site to 19.1.1 2014-08-30 09:12:58 +02:00
Collin Anderson
482f675da2 removed useless X-Real-IP header
gunicorn doesn't use it at all.
2014-08-27 13:58:44 -04:00
benoitc
f9d4144add fix tornado example.
bad command line in example. fix #861
2014-08-21 14:43:56 +02:00
Andrew Svetlov
a8b0aa48b7 Merge pull request #859 from tavva/master
Tidy up comments
2014-08-19 11:35:26 +03:00
Ben Phillips
6e2de5ab6e Tidy up comments 2014-08-19 07:48:31 +01:00
Stéphane Wirtel
85521592ba Merge pull request #858 from matrixise/update_thanks
Update the THANKS file from the git logs
2014-08-18 18:49:20 +02:00
Stéphane Wirtel
1d94290cdf Add the script for the THANKS file 2014-08-18 18:39:05 +02:00
Stéphane Wirtel
2116d8f2e5 Update the THANKS file from the git logs
Update the THANKS file from the git logs
2014-08-18 18:13:31 +02:00
Berker Peksag
9adf12282f Document the statsd_host option. 2014-08-18 17:47:19 +03:00
benoitc
9614882523 add missing people to THANKS 2014-08-16 13:36:44 +02:00
benoitc
9d55846254 fix copyright 2014-08-16 13:32:55 +02:00
benoitc
3e76389ef0 document the 19.1.1 tag 2014-08-16 13:31:22 +02:00
benoitc
717460b336 bump to 19.1.1 2014-08-16 13:17:54 +02:00
Benoit Chesneau
f25ea06c74 Merge pull request #854 from benoitc/fix/830-2
fix asyncio worker handling
2014-08-16 13:16:27 +02:00
benoitc
f80ddf368c fix tests 2014-08-16 12:26:04 +02:00
Berker Peksag
719e61bf18 Raise a RuntimeError if asyncio is not available.
Fixes #830.
2014-08-16 12:19:23 +02:00
Randall Leeds
88804ae035 Merge pull request #853 from alq666/alq666/logger-class
Respect logger_class setting unless statsd is on
2014-08-15 21:26:34 -07:00
Alexis Le-Quoc
cc40f2e31f Respect logger_class setting unless statsd is on 2014-08-15 23:31:16 -04:00
Randall Leeds
0dafa8d279 Merge pull request #850 from silarsis/master
added timezone to logging
2014-08-13 15:23:57 -07:00
Kevin Littlejohn
c21c3c20bd added timezone to logging 2014-08-13 09:53:32 +10:00
Stéphane Wirtel
d2bcf8f689 Merge pull request #849 from hebertjulio/patch-1
Update design.rst
2014-08-12 21:23:50 +02:00
Hebert J
0d2680d620 Update design.rst
Double "are".
2014-08-12 16:19:10 -03:00
Berker Peksag
30fe550d10 Merge pull request #843 from msabramo/patch-1
signals.rst: Improve English slightly
2014-08-08 08:52:05 +03:00
Marc Abramowitz
9065bc9bd9 signals.rst: Improve English slightly 2014-08-07 22:39:14 -07:00
Berker Peksag
3961e807b2 Remove py==1.4.22 from requirements_dev.txt.
It's not a direct dependency for Gunicorn. Only used by py.test.
2014-08-07 23:20:42 +03:00
Berker Peksag
6baaffd78e Merge pull request #842 from mulka/patch-1
Update faq.rst
2014-08-07 23:01:45 +03:00
Kyle Mulka
43ffed3c67 Update faq.rst
mmm... grammar
2014-08-07 15:02:48 -04:00
Randall Leeds
42ff88bbbd Merge pull request #838 from mgood/statsd-timing
Send statsd timing metrics in milliseconds
2014-08-05 00:26:40 -07:00
Randall Leeds
9c0add7a96 Merge pull request #839 from alq666/master
Cut down logging messages in manage_workers
2014-08-05 00:26:35 -07:00
Alexis Le-Quoc
7db45868e0 Typo 2014-08-04 15:36:14 -04:00
Alexis Lê-Quôc
6cb67e49ca Restore number of workers in DEBUG log 2014-08-04 15:30:12 -04:00
Matt Good
59bf9b5867 Fix statsd test for millisecond times 2014-08-03 14:39:34 -07:00
Alexis Le-Quoc
bc2e132bce Rework logging to allow for empty log message while pushing metrics 2014-08-03 17:15:13 -04:00
Matt Good
7c10c7d22d Send statsd timing metrics in milliseconds
The statsd documentation indicates that timing values are expected to be in
milliseconds, not seconds:

  "The glork took 320ms to complete this time"
  https://github.com/etsy/statsd/blob/master/docs/metric_types.md#timing
2014-08-03 13:38:07 -07:00
WooParadog
2753aac65b Fix PyTest class in setup.py.
It should be subclass of `setuptools.command.test`. Also, use it in
.travis.yml.
2014-08-01 15:30:20 +03:00