Skip to content

No graceful shutdown handling despite tokio-util 'full' dependency #14

Description

@abayomicornelius

Cargo.toml includes tokio-util = { version = \"0.7\", features = [\"full\"] }, and the README's production checklist implies operational readiness, but src/main.rs calls axum::serve(listener, app).await? with no .with_graceful_shutdown(...) handler for SIGTERM/SIGINT.

In containerized deployments (the Dockerfile/compose setup implies Docker/k8s), this means in-flight requests are killed abruptly on redeploy instead of being drained. Add a shutdown signal handler using tokio::signal::ctrl_c() / SIGTERM listener.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBackend service logicenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions