Permalink
Commits on May 8, 2008
  1. Don't bomb out if the app_version is unset.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@32 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed May 8, 2008
  2. Return the job id and server address.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@31 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed May 8, 2008
  3. Remove code to run jobs in an alternate version.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@30 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed May 8, 2008
Commits on Apr 26, 2008
  1. Provide the worker instance to the job user hook.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@29 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  2. Return the job id and server address.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@28 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  3. Include a hook to run after putting each job.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@27 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  4. Include a hook to run before running jobs.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@26 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  5. Include a hook for error handling.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@25 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  6. Don't print a stack trace just for replication delay.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@24 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  7. Try to set close on exec for all db connections.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@23 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  8. Removed dead code.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@22 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  9. New Job constructor doesn't take the priority.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@21 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
  10. Take advantage of new tubes feature in beanstalk.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@20 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Apr 26, 2008
Commits on Mar 27, 2008
  1. Allow the running job to finish after a TERM signal.

    Thanks to Philipp Schmid <philipp.schmid@gmail.com> for the patch,
    edited by me.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@19 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Mar 27, 2008
Commits on Mar 24, 2008
  1. Don't break when mysql isn't available.

    I don't use mysql on one of my projects.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@18 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Mar 24, 2008
  2. Remove priority from job creation for newer beanstalkd compatibility.

    async observer doesn't work with beanstalk-client 0.9
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@17 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Mar 24, 2008
Commits on Feb 20, 2008
  1. Since we're already in the metaclass, use attr_accessor.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@16 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Feb 20, 2008
Commits on Feb 19, 2008
  1. Fix bug: make sure base-class hooks run when a model inherits from an…

    …other.
    
    Thanks to Dustin Sallings <dsallings@gmail.com> for the patch.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@15 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Feb 19, 2008
Commits on Jan 5, 2008
  1. Return the job id.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@14 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Jan 5, 2008
  2. Support setting the priority, delay, or ttr of async_observer jobs.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@13 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Jan 5, 2008
Commits on Dec 21, 2007
  1. Use cache_fu if available. Thanks to Dustin Sallings <dsallings@gmail…

    ….com>.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@12 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Dec 21, 2007
Commits on Dec 15, 2007
  1. Fix reference to nonexistent method fixed_backtrace ==> backtrace.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@11 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Dec 15, 2007
Commits on Dec 14, 2007
  1. Add copyright notice and license.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@9 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Dec 14, 2007
  2. Must require mysql before trying to muck with it.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@5 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Dec 14, 2007
  3. Remove references to a nonexistent method.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@4 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Dec 14, 2007
  4. Fix the require statements to work with the open-source packages.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@3 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Dec 14, 2007
  5. Initial commit.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/async-observer/async_observer@1 f42208c8-597e-4dc9-a40e-02aa0bb3b44f
    Keith Rarick committed Dec 14, 2007