aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/npmsw.py
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2023-04-06 20:07:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-13 12:01:12 +0100
commitb4763c2c93e7494e0a27f5970c19c1aac66c228b (patch)
treebfe2c1ebb25d9bddb29270ae9c18e7ae0d965777 /lib/bb/fetch2/npmsw.py
parentbb9e523291a3cad6e1596ee6a1e715b5e5feba8f (diff)
downloadbitbake-contrib-b4763c2c93e7494e0a27f5970c19c1aac66c228b.tar.gz
runqueue: fix PSI check calculation
The current PSI check calculation does not take into consideration the possibility of the time interval between last check and current check being much larger than 1s. In fact, the current behavior does not match what the manual says about BB_PRESSURE_MAX_XXX, even if the value is set to upper limit, 1000000, we still get many blocks on new task launch. The difference between 'total' should be divided by the time interval if it's larger than 1s. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/npmsw.py')
0 files changed, 0 insertions, 0 deletions