comparison Sphinx/source/users/advanced-rest.rst @ 798:80b9ceeb4045

updated jobs doc
author Alain Mazy <am@osimis.io>
date Tue, 14 Dec 2021 17:37:24 +0100
parents 4e9dc26a5cb9
children 1c3972c03c2a
comparison
equal deleted inserted replaced
797:4d431ad58521 798:80b9ceeb4045
24 processed, they are tagged as successful or failed, and kept in a 24 processed, they are tagged as successful or failed, and kept in a
25 history (the size of this history is controlled by the 25 history (the size of this history is controlled by the
26 ``JobsHistorySize`` option). 26 ``JobsHistorySize`` option).
27 27
28 By default, Orthanc saves the jobs into its database (check out the 28 By default, Orthanc saves the jobs into its database (check out the
29 ``SaveJobs`` option). If Orthanc is stopped then relaunched, the jobs 29 ``SaveJobs`` option). Jobs are saved every 10 seconds and when
30 Orthanc stops. If Orthanc is stopped then relaunched, the jobs
30 whose processing was not finished are automatically put into the queue 31 whose processing was not finished are automatically put into the queue
31 of pending tasks. The command-line option ``--no-jobs`` can also be 32 of pending tasks or resumed if they were being processed when Orthanc
32 used to prevent the loading of jobs from the database upon the launch 33 stopped. The command-line option ``--no-jobs`` can also be used to
33 of Orthanc. 34 prevent the loading of jobs from the database upon the launch of
35 Orthanc.
34 36
35 Note that the queue of pending jobs has a maximum size (check out the 37 Note that the queue of pending jobs has a maximum size (check out the
36 ``LimitJobs`` option). When this limit is reached, the addition of new 38 ``LimitJobs`` option). When this limit is reached, the addition of new
37 jobs is blocked until some job finishes. 39 jobs is blocked until some job finishes.
38 40