Skip to content

Processes Killed or Supervisor Restarts do not recover #1541

Open
@kpconnell

Description

@kpconnell

Horizon Version

5.13

Laravel Version

11.1

PHP Version

8.2

Redis Driver

PhpRedis

Redis Version

6.0

Database Driver & Version

No response

Description

Horizon does not properly handle process death and supervisor restarts.

Current Behavior:
If the operating system kills a process, or the infrastructure (the server itself) is restarted, all currently executing jobs remain in a Pending state until they timeout.

Desired Behavior:
Jobs should re-start if their worker process or supervisor are restarted.

Steps To Reproduce

Kill a worker process
Observe job remains in pending state

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions