librelist archives

« back to archive

job for killed worker does not end up in failed queue

job for killed worker does not end up in failed queue

From:
Jitesh Shetty
Date:
2012-11-19 @ 15:38
Folks,

I have a quick question, I am using Resque in a rails app for processing
background jobs, what I am noticing is when I kill a forked process the
worker dies but that job does not end up in the failed queue, is there
something that I am missing? Do I need to have some special config to have
a job end up in the failed queue when a process is killed.

Thanks a lot.

-Jitesh

Re: job for killed worker does not end up in failed queue

From:
Jitesh Shetty
Date:
2012-11-23 @ 18:35
Folks,

Just want to check again, has anyone seen this before? When I kill a worker
while its processing that job doesn't end up in the failed queue. Its just
lost. Is this the expected behavior?


On Mon, Nov 19, 2012 at 10:38 AM, Jitesh Shetty <jitesh@gmail.com> wrote:

> Folks,
>
> I have a quick question, I am using Resque in a rails app for processing
> background jobs, what I am noticing is when I kill a forked process the
> worker dies but that job does not end up in the failed queue, is there
> something that I am missing? Do I need to have some special config to have
> a job end up in the failed queue when a process is killed.
>
> Thanks a lot.
>
> -Jitesh
>
>

Re: [resque] Re: job for killed worker does not end up in failed queue

From:
Steve Klabnik
Date:
2012-11-23 @ 19:07
Sounds like a bug to me.