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

Initial implementation of pausing #8

Merged
merged 1 commit into from
Aug 6, 2014
Merged

Initial implementation of pausing #8

merged 1 commit into from
Aug 6, 2014

Conversation

gorsuch
Copy link
Owner

@gorsuch gorsuch commented Aug 6, 2014

  • logging of pid upon startup
  • agent spawning can be toggled on or off via SIGUSR1
  • state changes are logged

ref #4

Example:

# terminal 1
$ haggar
2014/08/06 13:05:02 master: pid 28484

# terminal 2
$ kill -USR1 28484

# terminal 1
2014/08/06 13:05:26 master: spawn_agents=false

Caveats:

If the master process is sleeping due to jitter, it won't pause and print status until after it wakes up. I will fix in a subsequent PR.

* logging of pid upon startup
* agent spawning can be toggled on or off via SIGUSR1
* state changes are logged
gorsuch added a commit that referenced this pull request Aug 6, 2014
Initial implementation of pausing
@gorsuch gorsuch merged commit 5e74720 into master Aug 6, 2014
@gorsuch gorsuch mentioned this pull request Aug 6, 2014
@obfuscurity
Copy link
Collaborator

❤️ will test later

@gorsuch gorsuch deleted the pause branch August 7, 2014 15:11
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