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

Handle signals #1

Merged
merged 11 commits into from
Feb 8, 2012
Merged

Handle signals #1

merged 11 commits into from
Feb 8, 2012

Conversation

benoitc
Copy link
Contributor

@benoitc benoitc commented Feb 8, 2012

added support for signals. All signals could be passed via zeromq or system signals;

Signals can be sent to the master via zeromq or system signals.

for ex:

    kill -QUIT <pid>

will kill the master on the pid `<pid>`.

And the following call via zeromq will do the same:

    >>> import zmq
    >>> ctx = zmq.Context()
    >>> s = ctx.socket(zmq.REQ)
    >>> s.connect("tcp://127.0.0.1:5555")
    >>> s.send("quit")

for now only quit, int & term signals are handled.
sot against age and pop the worker from self.WORKERS.
tarekziade pushed a commit that referenced this pull request Feb 8, 2012
@tarekziade tarekziade merged commit a543fe9 into circus-tent:master Feb 8, 2012
tarekziade pushed a commit that referenced this pull request Sep 16, 2013
Remove a blank line that's breaking the Travis build
k4nar added a commit that referenced this pull request Jun 12, 2016
k4nar pushed a commit that referenced this pull request Oct 26, 2018
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

Successfully merging this pull request may close these issues.

2 participants