Skip to main content

Module config

Module config 

Source
Expand description

The zirv_queue crate provides a job-queue system with autoscaling workers, configurable runtime settings, and database migration support.

This module defines submodules that handle core functionality:

  • config: Manages application and database-related configuration.
  • models: Contains data structures (Job, FailedJob, etc.) representing database tables.
  • traits: Defines common behavior for jobs (Queueable trait) and other shared traits.
  • utils: Utility functions for serialization, deserialization, and more.
  • worker: Handles the worker logic for fetching and processing jobs.
  • schema: Diesel-generated schema definitions linking Rust types to database tables.

Structsยง

Config
Application-wide configuration loaded from environment variables.