apalis_sqlite/queries/
mod.rs1use apalis_core::backend::StatType;
2
3pub mod fetch_by_id;
4pub mod keep_alive;
5pub mod list_queues;
6pub mod list_tasks;
7pub mod list_workers;
8pub mod metrics;
9pub mod reenqueue_orphaned;
10pub mod register_worker;
11pub mod wait_for;
12pub mod vacuum;
13
14fn stat_type_from_string(s: &str) -> StatType {
15 match s {
16 "Number" => StatType::Number,
17 "Decimal" => StatType::Decimal,
18 "Percentage" => StatType::Percentage,
19 "Timestamp" => StatType::Timestamp,
20 _ => StatType::Number, }
22}