diff --git a/explanation/codeimport.rst b/explanation/codeimport.rst index d0b7727..d2c2ae5 100644 --- a/explanation/codeimport.rst +++ b/explanation/codeimport.rst @@ -51,13 +51,16 @@ in time, as the process works like this: - cronjobs in ``lp-codeimport`` run workers - when the code import worker is looking for work to do, it calls - ``getJobForMachine`` in the `codeimportscheduler module _` + ``getJobForMachine`` in the `codeimportscheduler module`_ - that calls ``getJobForMachine`` - in the `codeimport module `_ - which makes a DB query to fetch the first job from a table that has - ``due_date`` not in the future, and that is marked as ``pending`` + in the `codeimport module`_ which makes a DB query to fetch the first job + from a table that has ``due_date`` not in the future, and that is marked as + ``pending`` - it then triggers the import +.. _codeimportscheduler module: https://git.launchpad.net/launchpad/tree/lib/lp/code/xmlrpc/codeimportscheduler.py +.. _codeimport module: https://git.launchpad.net/launchpad/tree/lib/lp/code/model/codeimportjob.py + Conclusion ==========