Build jobs outputting loooong lines slowly may delay other server responses?
jbglaw opened this issue · 1 comments
Hi!
This is maybe more a PR for me than for you, but (haven't yet made a specific test for this) I've got the feeling that laminard
will not answer further API requests (from frontend or laminarc show-running
etc.) while running jobs are doing an initial git clone
. As I usually have 16 jobs running in parallel, I initially thought that it's just I/O bandwidth or something like that.
However, my current thought about it is that it's possibly the long output of git clone
without a \n
. Once the current round of cross-building Linux powerpc kernels is over, I'll create a test job (output stuff slowly without a \n
for a long time) to verify my educated guess.
Thanks,
Jan-Benedict
For reference, I tested with this job:
#!/usr/bin/env bash
for i in {1..300}; do
printf 'This is some output with another %%i: %i\r' "${i}"
sleep 1
done
printf '\n'
...but couldn't reproduce this issue, so I'll close this PR.