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

Configuration for verification scheduling. More...

#include <task_scheduler_config.h>

Collaboration diagram for kcenon::pacs::workflow::verification_config:
Collaboration graph

Public Attributes

std::chrono::hours interval {24}
 Interval between verification runs.
 
bool check_checksums {true}
 Verify file checksums (MD5/SHA256)
 
bool check_db_consistency {true}
 Verify database-storage consistency.
 
bool check_dicom_structure {false}
 Verify DICOM structure.
 
bool repair_on_failure {false}
 Attempt repair on failure.
 
std::size_t max_verifications_per_cycle {1000}
 Maximum studies to verify per cycle.
 
std::string hash_algorithm {"SHA256"}
 Hash algorithm for checksum verification.
 
schedule verification_schedule {cron_schedule::daily_at(4, 0)}
 Schedule for verification task.
 

Detailed Description

Configuration for verification scheduling.

Definition at line 440 of file task_scheduler_config.h.

Member Data Documentation

◆ check_checksums

bool kcenon::pacs::workflow::verification_config::check_checksums {true}

Verify file checksums (MD5/SHA256)

Definition at line 445 of file task_scheduler_config.h.

445{true};

◆ check_db_consistency

bool kcenon::pacs::workflow::verification_config::check_db_consistency {true}

Verify database-storage consistency.

Definition at line 448 of file task_scheduler_config.h.

448{true};

◆ check_dicom_structure

bool kcenon::pacs::workflow::verification_config::check_dicom_structure {false}

Verify DICOM structure.

Definition at line 451 of file task_scheduler_config.h.

451{false};

◆ hash_algorithm

std::string kcenon::pacs::workflow::verification_config::hash_algorithm {"SHA256"}

Hash algorithm for checksum verification.

Definition at line 460 of file task_scheduler_config.h.

460{"SHA256"};

◆ interval

std::chrono::hours kcenon::pacs::workflow::verification_config::interval {24}

Interval between verification runs.

Definition at line 442 of file task_scheduler_config.h.

442{24};

◆ max_verifications_per_cycle

std::size_t kcenon::pacs::workflow::verification_config::max_verifications_per_cycle {1000}

Maximum studies to verify per cycle.

Definition at line 457 of file task_scheduler_config.h.

457{1000};

◆ repair_on_failure

bool kcenon::pacs::workflow::verification_config::repair_on_failure {false}

Attempt repair on failure.

Definition at line 454 of file task_scheduler_config.h.

454{false};

◆ verification_schedule

schedule kcenon::pacs::workflow::verification_config::verification_schedule {cron_schedule::daily_at(4, 0)}

Schedule for verification task.

Definition at line 463 of file task_scheduler_config.h.

463{cron_schedule::daily_at(4, 0)}; // 4:00 AM
static auto daily_at(int hour, int minute=0) -> cron_schedule
Create a daily schedule at specific time.

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