зеркало из https://github.com/mozilla/treeherder.git
23 строки
526 B
Bash
Executable File
23 строки
526 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Make non-zero exit codes & other errors fatal.
|
|
set -euo pipefail
|
|
|
|
SRC_DIR=$(dirname "$(dirname "${BASH_SOURCE[0]}")")
|
|
cd "$SRC_DIR"
|
|
|
|
source vagrant/env.sh
|
|
|
|
exec newrelic-admin run-program celery -A treeherder worker \
|
|
-Q \
|
|
log_parser,\
|
|
log_parser_fail,\
|
|
log_store_failure_lines,\
|
|
log_store_failure_lines_fail,\
|
|
log_crossreference_error_lines,\
|
|
log_crossreference_error_lines_fail,\
|
|
log_autoclassify,\
|
|
log_autoclassify_fail\
|
|
--concurrency=10 -l INFO \
|
|
--maxtasksperchild=500 -n log_parser.%h
|