Skip to content

Delayed job hangs when running work_off #52

@suttree

Description

@suttree

Hi,

When running the delayed_job rake task, it appears that delayed_job hangs without executing any of the jobs.

The rake task executes and initializes, but as soon as it gets into the work_off method it does nothing more. There's no database activity, nor any cpu activity.

Killing the rake task does however cause the jobs to run as the process cleans up after itself, so it seems like nothing happens in the rake task until it is forcibly stopped.

Has anyone experienced anything similar? We're not running multiple databases and there are no obvious errors appearing in any log files.

Also, running Delayed::Job.work_off in the rails console works fine, so it seems to be a problem with running that command via rake...

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