Resque task status not properly updated resulting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Helioqueuer |
New
|
High
|
Unassigned |
Bug Description
In some cases a task's status is not being properly updated in Resque, resulting in stale movie requests that do not ever get marked as failed/completed.
For example, after making a couple movie requests, resque-web was used to verify that the tasks were no longer running. Further, the cache revealed that both movies has been created and marked as "complete."
Upon querying Helioqueuer, however, the tasks still appear to be in progress:
statuses = r.zrange(
=> ["14e58d40886d0
r.get("
=> nil
irb(main):019:0> status
=> #<Resque::Status {"uuid"
irb(main):020:0> status.completed?
=> false
irb(main):021:0> status.failed?
=> false
r.get 'estimated_time'
=> "2514"
Estimated time never becomes decremented and the status for each stale item are never set to completed, therefor each request for an updated status from hv.org returns the same response.
Changed in helioqueuer: | |
importance: | Undecided → High |