# HG changeset patch # User Alain Mazy # Date 1639499844 -3600 # Node ID 80b9ceeb40457988ceb21fb57efc25dd0b304b46 # Parent 4d431ad585212cd81486fe1e492a7d1bc78dc69e updated jobs doc diff -r 4d431ad58521 -r 80b9ceeb4045 Sphinx/source/users/advanced-rest.rst --- a/Sphinx/source/users/advanced-rest.rst Sun Dec 12 15:25:43 2021 +0100 +++ b/Sphinx/source/users/advanced-rest.rst Tue Dec 14 17:37:24 2021 +0100 @@ -26,11 +26,13 @@ ``JobsHistorySize`` option). By default, Orthanc saves the jobs into its database (check out the -``SaveJobs`` option). If Orthanc is stopped then relaunched, the jobs +``SaveJobs`` option). Jobs are saved every 10 seconds and when +Orthanc stops. If Orthanc is stopped then relaunched, the jobs whose processing was not finished are automatically put into the queue -of pending tasks. The command-line option ``--no-jobs`` can also be -used to prevent the loading of jobs from the database upon the launch -of Orthanc. +of pending tasks or resumed if they were being processed when Orthanc +stopped. The command-line option ``--no-jobs`` can also be used to +prevent the loading of jobs from the database upon the launch of +Orthanc. Note that the queue of pending jobs has a maximum size (check out the ``LimitJobs`` option). When this limit is reached, the addition of new