tobi / delayed_job

Database backed asynchronous priority queue -- Extracted from Shopify
http://tobi.github.com/delayed_job
MIT License
2.15k stars 1.25k forks source link

failed_at (always) empty #25

Open clm-a opened 14 years ago

clm-a commented 14 years ago

Hi ! I'm running DJ plugin (installed today) in a 2.3.8 Rails app.

I set Delayed::Worker.destroy_failed_jobs = false I created a fake task which fails, raising an Exception

When DJ processes this task, it reports the exception, stores it in "last_error" field BUT the failed_at is always nil. Is that the right behaviour of your nice plugin ?

Thanks, Clément

clm-a commented 14 years ago

Sorry maybe I didn't waited for max attempts (looking for it)...

clm-a commented 14 years ago

Hmm.. I cleared, restarted, ran the task but after the number of attempts, failed_at field is still blank :(

clm-a commented 14 years ago

I'm using Sqlite