Skip to content

Persist delivery queue across restarts #9

Closed

Description

@Its-donkey

Summary

Back the delivery retry queue with durable storage so pending deliveries survive restarts.

Motivation

The current in-memory queue loses outstanding deliveries on process exit. Persisting queue state would make retry logic resilient to crashes and planned restarts.

Proposed direction

  • Store queue state on disk (e.g., in spool directory) or use a lightweight embedded database.
  • Ensure enqueue/dequeue flows remain efficient and do not block the main loop.
  • Provide migration/upgrade path for existing deployments.

Labels

  • feature
  • queue

Activity

  1. Its-donkey commented on Jan 4, 2026

    @Its-donkey
    OwnerAuthor

    Implemented in PR #20 - Queue state now persists to disk and survives restarts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProduct feature requestqueueQueue/Delivery system

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions