Jobs

In the Admin Panel > Setting > Configurations > Jobs settings, jobs can be parameterized, such as the number and timing of retries, or the maximum number of database queries running in parallel.

Configuration options

FieldDescriptionValue
JOBS_PARALLEL_DB_QUERIES_LIMITThe maximum number of database queries that can occur concurrently.
JOB_MEMORY_LIMITStop the job if it exceeds this memory limit.MB
JOBS_QUERIES_INTERVALDefines the interval, in seconds, at which the system queries the jobs.sec (float)
MIN_SYSTEM_AVAILABLE_MEMORY_THRESHOLDIf system has less available memory left than this value, app will start stopping all jobs.MB
SCAN_BROKER_STUCK_RETRY_MAX_UPLOAD_SIZEIf the upload size exceeds this value, retries are not performed if the broker is stuck.MB
QUEUED_SCAN_CHANGE_PRIORITY_TIMEOUTThe time before the priority of scans waiting in the queue is increased.sec
QUEUED_SCAN_CANCEL_TIMEOUTThe time before a scan waiting in the queue is canceled.sec
CREATE_SCANS_ABOVE_LIMIT_FACTORHow many scans users are allowed to add above the queue limit, relative to this limit. (value is in %)from 0 to 1
MOVE_SCAN_KEEP_FREE_RATIODetermines the amount of free space that remains in the target queue when moving items between queues. Set to 1 to disable changing scans priority.from 0 to 1
QUICK_RETRY_MAX_COUNTMax amount of quick retries due to failed report. Min of it or TASKS_QUEUE_JOB_RETRY_LIMIT (broker rescans) is used.
RESCAN_MAX_COUNTAmount of delayed rescan attempts to make for failed reports. Set to 0 to disable rescans.
RESCAN_MIN_AGE_HOURSThe minimum age, in hours, before a rescan can be initiated for a report.
REPORT_INTERRUPT_TIMEOUTDefines the timeout period, in seconds, after which a report generation process will be interrupted if it takes too long to complete.sec
SCAN_REQUEST_FAILED_RETRY_WAITSpecifies the time, in seconds, to wait before retrying a failed scan request.sec
SCAN_BROKER_STUCK_RETRY_WAIT_1Defines the initial time, in seconds, to wait before retrying a scan request if the broker is stucksec
SCAN_BROKER_STUCK_RETRY_WAIT_2Defines the time, in seconds, to wait before retrying a scan request if the broker is stuck after the second tries is failed.sec
SCAN_BROKER_STUCK_RETRY_WAIT_3Defines the time, in seconds, to wait before retrying a scan request if the broker is stuck after the third tries is failed.sec
RESCAN_QUOTA_FACTORAllow only certain part of queue to be occupied by rescans.from 0 to 1
SCAN_MAX_PRIORITY_JOBS_LIMITSpecifies the maximum number of jobs allowed with the highest priority in the scan queue.
SCAN_MEDIUM_PRIORITY_JOBS_LIMITSpecifies the maximum number of jobs allowed with medium priority in the scan queue.
SCAN_LOW_PRIORITY_JOBS_LIMITSpecifies the maximum number of jobs allowed with low priority in the scan queue.
SCAN_LEAST_PRIORITY_JOBS_LIMITSpecifies the minimum number of jobs allowed with the lowest priority in the scan queue.
TASKS_QUEUE_JOB_TIMEOUTTime limit for arq jobs from start till job is cancelled.sec
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard