Skip to content

Missing Graceful Shutdown: Running jobs not awaited #61

Description

@PedramNavid

Severity: Low

Location

src/scheduler/engine.rs:352

Description

Shutdown occurs without waiting for running jobs to complete. This can lead to:

  • Interrupted jobs with no cleanup
  • Potential data corruption if jobs are mid-operation
  • Inconsistent state in storage

Suggested Fix

Add graceful shutdown with a configurable timeout that waits for running jobs to complete before fully shutting down.

Source

Identified in PR #56 code review.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions