Module cron

Module cron 

Source
Expand description

Cron scheduler for SQS mode.

The implementation now lives in the backend-neutral crate::queues::cron module (shared with the Pub/Sub backend). SqsCronScheduler is a thin alias over CronScheduler so existing SQS call sites (SqsCronScheduler::new(...) .start()) are unchanged. Sharing one scheduler keeps the distributed-lock keys backend-neutral and identical across SQS and Pub/Sub.

Re-exportsยง

pub use crate::queues::cron::CronScheduler as SqsCronScheduler;