launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #27547
[Merge] ~cjwatson/lp-codeimport:avoid-slave into lp-codeimport:master
Colin Watson has proposed merging ~cjwatson/lp-codeimport:avoid-slave into lp-codeimport:master.
Commit message:
Talk about "workers" rather than "slaves"
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/lp-codeimport/+git/lp-codeimport/+merge/409524
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/lp-codeimport:avoid-slave into lp-codeimport:master.
diff --git a/lib/lp/codehosting/codeimport/dispatcher.py b/lib/lp/codehosting/codeimport/dispatcher.py
index 2ab170f..69bdbb0 100644
--- a/lib/lp/codehosting/codeimport/dispatcher.py
+++ b/lib/lp/codehosting/codeimport/dispatcher.py
@@ -88,7 +88,7 @@ class CodeImportDispatcher:
"""How long to sleep for until asking for a new job.
The basic idea is to wait longer if the machine is more heavily
- loaded, so that less loaded slaves get a chance to grab some jobs.
+ loaded, so that less loaded workers get a chance to grab some jobs.
We assume worker_limit will be roughly the number of CPUs in the
machine, so load/worker_limit is roughly how loaded the machine is.