Skip to content

Commit

Permalink
Fix links and line length
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 committed Oct 17, 2023
1 parent cae6be8 commit 5c30a5a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions explanation/codeimport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://git.launchpad.net/launchpad/tree/lib/lp/code/xmlrpc/codeimportscheduler.py>_`
``getJobForMachine`` in the `codeimportscheduler module`_
- that calls ``getJobForMachine``
in the `codeimport module <https://git.launchpad.net/launchpad/tree/lib/lp/code/model/codeimportjob.py>`_
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
==========

Expand Down

0 comments on commit 5c30a5a

Please sign in to comment.