Commit 923edd57 authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.5.4 add buffer-size in default uwsgi.ini config.

The default buffer-size is too low for X-AUTH-TOKEN in keystone HTTP header.
parent dbe7f1a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.5.3"
(defproject python/lein-template "0.5.4"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+3 −0
Original line number Diff line number Diff line
@@ -18,3 +18,6 @@ pidfile=/tmp/{{name}}.pid
# double % is required for this to work.
log-date=%%a, %%d %%b %%Y %%T %%z
logto=/data2/log/{{name}}/uwsgi.log
touch-logreopen=/data2/log/{{name}}/uwsgi.touch

buffer-size=32768
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ LOGDIR=${LOGDIR:-/data2/log/{{name}}}
RUN_AS_USER=root

mkdir -p "$LOGDIR"
# touch /data2/log/{{name}}/uwsgi.touch
if [ "$RUN_AS_USER" != root ]; then
	chown -R "$RUN_AS_USER":"$RUN_AS_USER" "$LOGDIR"
fi