question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shutdown not communicating to workers

See original GitHub issue

I have a interface.js which basically jsut setups to the kue dashboard.

I have a seperate js say worker.js

I send a code 15 (aka SIGTERM) via kill -15 PID to the interface.js PID which then issues the queue.shutdown() which I would of thought signals all workers to stop processing after their current active job is done. but by worker.js just continues to munch on the queue.

Is there something I’m missing in worker.js to tell interface.js it’s a worker?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TheGrandmothercommented, May 16, 2017

I’m having problems with shutdown as well. The example code from the readme does not seem to work. I will be in touch if i can find a solution.

1reaction
DevBrentcommented, Feb 27, 2017

I’m actually experiencing this problem when I call queue.shutdown myself. I’ve seen it work, but like other things in KUE it’s not consistent. Processors continue to consume the queue despite the shutdown being requested two days ago.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Right Way to Close an Operation
Communicate until it hurts.​​ The shock of the initial announcement will prevent employees from absorbing everything you tell them at that time. After...
Read more >
Guidance for Shutdown Furloughs - OPM
Employees who are neither excepted nor exempt and are scheduled for training during a shutdown furlough must be placed in a furlough status...
Read more >
A Guide to Employee Rights When a Company Closes Down
Understanding your federal, state and contractual rights as an employee during a company shutdown can help you remain informed and prepared ...
Read more >
How to Communicate with Someone ... - Develop Good Habits
If a co-worker has shut down on you, try communicating the mutual benefit of working together and effectively communicating.
Read more >
Closing a Business - 7 Things to Communicate to Employees
But most importantly tell them why you feel certain information should be shared and why it is important to not share other information....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found