delayed_job icon indicating copy to clipboard operation
delayed_job copied to clipboard

Bug regarding checking status when using a last version Daemons gem

Open TemaMix opened this issue 5 years ago • 3 comments

Basic info

I have a project with delayed_job and I need to check status delayed_job workers after each deploy using a follow script:

require 'delayed/command' Delayed::Command.new(['start','-n', '2']).daemonize >delayed_job.0: process with pid 47619 started. >delayed_job.1: process with pid 47621 started. Delayed::Command.new(['status']).deamonize

It returns: delayed_job: no instances running

and the same time into pids folder we have follows files: delayed_job.0.pid delayed_job.1.pid

Early, after that I had executed this command, I could get information about current status all workers like as: delayed_job: running [pid 47619] delayed_job: running [pid 47621]

However, after updating the project to Rails 5.2 as well as updated an implicit dependency gem daemons up to version 1.3.1 and after that the following script works incorrectly:

Contributing guidelines

  • [x] Search the "mailing list":http://groups.google.com/group/delayed_job to see if anyone else had the same issue.

  • [x] Check the "GitHub issue tracker":http://github.com/collectiveidea/delayed_job/issues/ to see if anyone else has reported issue.

  • [x] Environment: Ruby 2.4.1 Rails 5.2 Gemfile.lock: delayed_job (4.1.5) daemons (1.3.1)

TemaMix avatar Mar 13 '19 20:03 TemaMix