Commit 099a55c3 authored by Paweł Wieczorek's avatar Paweł Wieczorek
Browse files

Increase job log interval



Having more than one hundred devices running jobs at the same time and
pushing log statements generates high traffic to the server. Increasing
logger time limit could help to reduce the number of HTTP requests.

Signed-off-by: Paweł Wieczorek's avatarPaweł Wieczorek <pawiecz@collabora.com>
parent dd08ab4f
......@@ -3,3 +3,4 @@ URL=--url http://lava:8000/
WS_URL=--ws-url http://lava:8001/ws/
LOGLEVEL=--log-level DEBUG
TOKEN=--token @@TOKEN@@
JOB_LOG_INTERVAL=--job-log-interval 5
#!/bin/sh
exec /usr/bin/lava-worker $WORKER_NAME $URL $WS_URL $TOKEN --log-file - $LOG_LEVEL $HTTP_TIMEOUT
exec /usr/bin/lava-worker $WORKER_NAME $URL $WS_URL $TOKEN --log-file - $LOG_LEVEL $JOB_LOG_INTERVAL $HTTP_TIMEOUT
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment