Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 6, 2012
  1. @TwP

    Fix the alive? check in the Piper class

    TwP authored
    We check if the child process is alive by sending a kill -0 signal to the
    child. If this method returns without error, then the child is alive and well.
    Except in the case where the child has terminated by the PID has not yet been
    reaped by the parent. The simple fix is to wait(WNOHANG) on the child PID
    beforing checking the state of the child.
  2. @TwP

    Merge pull request #7 from lantins/pass-backtrace-on-startup-error

    TwP authored
    Pass original child exception backtrace up the exception chain.
  3. @lantins
Commits on Jan 25, 2012
  1. @TwP

    Merge pull request #6 from lmarburger/typos

    TwP authored
    Fix a few typos
Commits on Jan 21, 2012
  1. @lmarburger

    fixing typos

    lmarburger authored
Commits on Jan 19, 2012
  1. @TwP

    adding a Travis CI build badge

    TwP authored
  2. @TwP

    fixing tests for Travis CI

    TwP authored
  3. @TwP
  4. @TwP

    version bump and history update

    TwP authored
  5. @TwP
  6. @TwP

    whitespace cleanup

    TwP authored
  7. @TwP
Commits on Jan 7, 2012
  1. @TwP

    adding ruby 1.8.7

    TwP authored
  2. @TwP

    removing unneeded comments

    TwP authored
  3. @TwP

    adding Travis CI integration

    TwP authored
  4. @TwP
  5. @TwP
Commits on Oct 5, 2011
  1. @TwP

    Removing the catch/throw halt method

    TwP authored
    After conferring with some other rubyists, this is not the best way to
    gracefully exit the run loop. It is very convenient, but it can also lead ot
    much confusion. It is best lest to the user to implement this if they so
    desire.
  2. @TwP

    fixing spec warnings

    TwP authored
  3. @TwP

    Wrapped the run loop in a catch block for quick exits.

    TwP authored
    A catch block is being used to quickly exit the run loop when needed. This
    allows your code to respond to stop requests much more easily - simply throw
    :halt_run_loop.
    
    Beware because this will bypass the all the code following the throw call and
    exit the run loop immediately. The after_stopping block will be run.
    
    Example:
    
      def run
        ...
        throw :halt_run_loop unless running?
        ..
      end
Commits on Aug 1, 2011
  1. @TwP

    updating to latest bones

    TwP authored
  2. @TwP

    using the "fetch" method on Hash

    TwP authored
  3. @TwP

    updating to latest RSpec version

    TwP authored
Commits on Jan 3, 2011
  1. @TwP

    revising history

    TwP authored
Commits on Dec 7, 2010
  1. @TwP

    better method name

    TwP authored
  2. @TwP

    Making timeout errors accessible to the worker pool.

    TwP authored
    Many thanks to Luke Antins for finding this one and sending me a patch. This
    allows you to figure out which workers have timed out when using the
    timeout/heartbeat mechanism. Very useful indeed.
  3. @TwP

    using newer bones and plugins

    TwP authored
Commits on Oct 26, 2010
  1. @TwP
  2. @TwP

    Threaded objects run first then sleep.

    TwP authored
    Originally the run loop would start with a sleep and then execute the main run
    method. For long sleep intervals, however, this is not the desired behavior.
    You would rather run once, then sleep for a while.
Commits on Jul 15, 2010
  1. @TwP

    User defineable termination signal.

    TwP authored
    The user can set the signal sent to the daemon process when gracefully
    stopping. The signal must be set as an Integer value on the "shutdown_command"
    property.
Commits on Apr 19, 2010
  1. @TwP

    Fixing race condition with pid file removal.

    TwP authored
    The tests were randoml failing. The trick is to wait until the server has
    completely shutdown and removed its pid file.
  2. @TwP

    removing rubyforge name

    TwP authored
  3. @TwP
  4. @TwP

    Elminated race condition in logfile watching; made program exit optio…

    Avdi Grimm & Chris Strom authored TwP committed
    …nal.
Commits on Mar 10, 2010
  1. @TwP
Something went wrong with that request. Please try again.