PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::client::job_manager_config Struct Reference

Configuration for the job manager. More...

#include <job_types.h>

Collaboration diagram for kcenon::pacs::client::job_manager_config:
Collaboration graph

Public Attributes

size_t worker_count {4}
 Number of worker threads.
 
size_t max_queue_size {1000}
 Maximum jobs in queue.
 
std::chrono::seconds job_timeout {3600}
 Job timeout (1 hour default)
 
bool persist_jobs {true}
 Persist jobs to database.
 
bool auto_retry_failed {true}
 Auto-retry failed jobs.
 
std::chrono::seconds retry_delay {60}
 Delay between retries.
 
std::string local_ae_title {"PACS_CLIENT"}
 Local AE title for operations.
 

Detailed Description

Configuration for the job manager.

Definition at line 406 of file job_types.h.

Member Data Documentation

◆ auto_retry_failed

bool kcenon::pacs::client::job_manager_config::auto_retry_failed {true}

Auto-retry failed jobs.

Definition at line 411 of file job_types.h.

411{true};

◆ job_timeout

std::chrono::seconds kcenon::pacs::client::job_manager_config::job_timeout {3600}

Job timeout (1 hour default)

Definition at line 409 of file job_types.h.

409{3600};

◆ local_ae_title

std::string kcenon::pacs::client::job_manager_config::local_ae_title {"PACS_CLIENT"}

Local AE title for operations.

Definition at line 413 of file job_types.h.

413{"PACS_CLIENT"};

Referenced by kcenon::pacs::client::job_manager::impl::execute_retrieve_job().

◆ max_queue_size

size_t kcenon::pacs::client::job_manager_config::max_queue_size {1000}

Maximum jobs in queue.

Definition at line 408 of file job_types.h.

408{1000};

Referenced by kcenon::pacs::client::job_manager::impl::load_pending_jobs_from_repo().

◆ persist_jobs

bool kcenon::pacs::client::job_manager_config::persist_jobs {true}

Persist jobs to database.

Definition at line 410 of file job_types.h.

410{true};

◆ retry_delay

std::chrono::seconds kcenon::pacs::client::job_manager_config::retry_delay {60}

Delay between retries.

Definition at line 412 of file job_types.h.

412{60};

◆ worker_count

size_t kcenon::pacs::client::job_manager_config::worker_count {4}

Number of worker threads.

Definition at line 407 of file job_types.h.

407{4};

Referenced by kcenon::pacs::client::job_manager::start_workers().


The documentation for this struct was generated from the following file: