Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to restart/reload the backburner process ? #113

Open
MhdSyrwan opened this issue Dec 11, 2015 · 3 comments
Open

Is there any way to restart/reload the backburner process ? #113

MhdSyrwan opened this issue Dec 11, 2015 · 3 comments

Comments

@MhdSyrwan
Copy link

Hi,
I've checked the rake tasks and didn't find any helpful task for this purpose. So is there any signal we can send to the process to load code changes ?

Note: If you're wondering what i'm trying to do, i'm writing a capistrano deployment recipe for backburner in my application , and i find it a bit slow to kill and re-start the process on each deployment.

@nesquena
Copy link
Owner

Unfortunately, right now the process has to be killed and restarted. This would be a great addition to the processes though.

@adamthedeveloper
Copy link

I'm seeing something odd during my deployments. Using upstart to start/stop the rake task, stopping and then starting right after, the process is running, but it fails to pull anything from beanstalkd. I have to manually log into the machine, do a sudo service backburner stop and then do a sudo service backburner start to get it pulling jobs again. Do you know why remote ssh running the same commands would cause backburner to not see jobs in the queue? Am I stopping and starting too fast? I also tried a 10 second sleep between stopping and starting, but the same behavior happens. @MhdSyrwan How long does your kill and re-start take?

@adamthedeveloper
Copy link

Looks like if there are no jobs in the queue between stop and start, it won't process any future jobs. Is anyone else seeing this behavior? Should I open a new issue for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants