1872 Commits

Author SHA1 Message Date
Scott Sanders
ed293d30e9 Don't import all of re 2014-09-16 08:38:05 -04:00
Scott Sanders
9f4861c4cf Implement statsd prefix sanitization 2014-09-16 08:34:38 -04:00
Scott Sanders
770c8219d2 Sanitize the statsd prefix 2014-09-16 08:34:38 -04:00
Scott Sanders
c9c543dc82 Update tests to demonstrate trailing . handling 2014-09-16 08:34:38 -04:00
Scott Sanders
a7c6a4fd20 Update docs to indicate a . is added 2014-09-16 08:15:58 -04:00
Scott Sanders
cb92b5bba7 Move the prefix assignment out of the try block for socket creation 2014-09-14 13:42:18 -04:00
Scott Sanders
51bd154c99 Fix whitespace 2014-09-14 13:41:52 -04:00
Scott Sanders
88bc188407 Add tests for statsd prefix 2014-09-12 14:58:03 -04:00
Scott Sanders
eb3bf34066 Prefix statsd metric strings with the prefix 2014-09-12 14:57:56 -04:00
Scott Sanders
34b56d5973 Add the statsd-prefix config option 2014-09-12 14:57:46 -04:00
Berker Peksag
8b80fee749 Merge pull request #885 from collinanderson/morewhitespace
clean code slightly
2014-09-11 04:28:38 +03:00
Collin Anderson
0d3045bb41 cleaned some code 2014-09-10 20:34:22 -04:00
Berker Peksag
20cb5a1fbb Merge pull request #883 from collinanderson/gunicorn19homepage
updated homepage example for gunicorn 19
2014-09-10 17:50:48 +03:00
Collin Anderson
aa301c465f updated homepage example for gunicorn 19 2014-09-10 10:26:20 -04:00
Berker Peksag
257e2228ae Merge pull request #882 from collinanderson/whitespace
clean whitespace
2014-09-10 17:07:32 +03:00
Collin Anderson
03fbe9429d clean whitespace 2014-09-10 09:52:12 -04:00
Berker Peksag
21ed220f8b Merge pull request #878 from collinanderson/urls
example django app: removed warnings on django 1.8
2014-09-10 16:15:02 +03:00
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
54e527d377 Merge pull request #877 from collinanderson/consolelog
upstart: removed unneeded console log
2014-09-09 18:29:45 +03:00
Collin Anderson
c97eae638f upstart: removed unneeded console log
It's there by default since Ubuntu 12.04
2014-09-09 11:02:31 -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