-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
On startup of Solid Queue all claimed_executions are set to failed status and a warning of this fact is added to the log. This is perfect! But when there are no claimed_executions a warning is still logged, like this:
WARN -- : SolidQueue-1.2.1 Fail claimed jobs (36.4ms) job_ids: [], process_ids: []
requiring attention further down the line.
I'm not familiar with solid_queue source code but wondering if solid_queue/app/models/solid_queue/process/executor.rb
should test if any claimed_executions are present.
def fail_all_claimed_executions_with(error)
if claims_executions? && claimed_executions.present?
claimed_executions.fail_all_with(error)
end
end
yokonao
Metadata
Metadata
Assignees
Labels
No labels