Skip to content

Commit

Permalink
disable ddtrace for now, linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Sep 27, 2024
1 parent beeedab commit 8ece13e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions emmet-api/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ MAIN_ARGS="$BIND_ARG $WORKER_ARGS $LOG_ARGS $REQS_ARGS $OTHER_ARGS"

ACCESS_LOG_FORMAT=(--access-logformat '%(h)s %(t)s %(m)s %(U)s?%(q)s %(H)s %(s)s %(b)s "%(f)s" "%(a)s" %(D)s %(p)s %({x-consumer-id}i)s %({x-callback-name}o)s %({x-consumer-groups}o)s')

if [[ -n "$STATS_ARG" ]]; then
exec ddtrace-run gunicorn $STATS_ARG $MAIN_ARGS "${ACCESS_LOG_FORMAT[@]}" $SERVER_APP
else
exec gunicorn $MAIN_ARGS "${ACCESS_LOG_FORMAT[@]}" $SERVER_APP
fi
#if [[ -n "$STATS_ARG" ]]; then
# exec ddtrace-run gunicorn $STATS_ARG $MAIN_ARGS "${ACCESS_LOG_FORMAT[@]}" $SERVER_APP
#else
exec gunicorn $MAIN_ARGS "${ACCESS_LOG_FORMAT[@]}" $SERVER_APP
#fi

0 comments on commit 8ece13e

Please sign in to comment.