diff options
author | 2024-05-21 14:55:16 +0200 | |
---|---|---|
committer | 2024-05-21 09:07:45 -0700 | |
commit | cd755af8347c32ea5247b68e6193c8428c9ffd7b (patch) | |
tree | 363c80cb6df56fce63b992ee9785b5265df69b75 | |
parent | install-qa-checks.d: suppress some gnulib implicit configure declarations (diff) | |
download | portage-cd755af8347c32ea5247b68e6193c8428c9ffd7b.tar.gz portage-cd755af8347c32ea5247b68e6193c8428c9ffd7b.tar.bz2 portage-cd755af8347c32ea5247b68e6193c8428c9ffd7b.zip |
SchedulerInterface/PollScheduler: _loadavg_latency's unit is seconds
The unit of _loadavg_latency is seconds, not milliseconds, as it is
used as first argument to an eventloop's call_later() function.
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Closes: https://github.com/gentoo/portage/pull/1325
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r-- | lib/_emerge/PollScheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_emerge/PollScheduler.py b/lib/_emerge/PollScheduler.py index b5bfd20b7..fdf88dd04 100644 --- a/lib/_emerge/PollScheduler.py +++ b/lib/_emerge/PollScheduler.py @@ -11,7 +11,7 @@ from _emerge.getloadavg import getloadavg class PollScheduler: - # max time between loadavg checks (milliseconds) + # max time between loadavg checks (seconds) _loadavg_latency = None def __init__(self, main=False, event_loop=None): |