Permalink
Commits on Dec 6, 2012
  1. autoload scalers only when required

    Filip Tepper committed Dec 6, 2012
Commits on Oct 13, 2012
  1. update to 1.1.1

    lostboy committed Oct 13, 2012
  2. Merge pull request #30 from filiptepper/master

    fixed first worker spawn on heroku cedar
    lostboy committed Oct 13, 2012
Commits on Oct 12, 2012
  1. spawn workers after_create

    fixes #29
    Filip Tepper committed Oct 12, 2012
Commits on Oct 11, 2012
Commits on Oct 4, 2012
  1. update to 1.1.0

    lostboy committed Oct 4, 2012
  2. Merge pull request #27 from jaimeiniesta/multiple_workers_with_heroku…

    …-api
    
    Multiple workers with heroku api
    lostboy committed Oct 4, 2012
Commits on Sep 29, 2012
  1. reactivate pending spec

    jaimeiniesta committed Sep 29, 2012
Commits on Sep 24, 2012
  1. Use the correct commands

    davidakachaos committed Sep 24, 2012
  2. Also for bamboo?

    davidakachaos committed Sep 24, 2012
  3. Use correct way

    davidakachaos committed Sep 24, 2012
  4. Using the new API for scaling the workers in the tests

    The tests now all pass.
    davidakachaos committed Sep 24, 2012
  5. Changed to the Heroku api

    davidakachaos committed Sep 24, 2012
  6. Client now uses the Heroku API key for Auth

    The new way to auto the heroic client is this way.
    davidakachaos committed Sep 24, 2012
  7. Make use of the new Heroku API gem commands.

    These commands behave the same as the old version, 
    only they make use of the new heroku-api gem.
    davidakachaos committed Sep 24, 2012
  8. Upgrade dependency to the heroku-api gem

    This gem is better up to date for interacting with
    the Heroku API. This gem is better supported.
    davidakachaos committed Sep 24, 2012
Commits on Jul 15, 2012
  1. Add multiple workers support.

    This allows to scale workers to more than 1, based on the job queue size, and
    setting a max and min num of workers.
    jaimeiniesta committed Jul 15, 2012
Commits on Jun 3, 2012
  1. update to workless 1.0.2

    lostboy committed Jun 3, 2012
  2. Merge pull request #20 from christophermanning/patch-1

    Add note mentioning how you can use the API key in place of your heroku password
    lostboy committed Jun 3, 2012
Commits on Mar 28, 2012
Commits on Feb 22, 2012
Commits on Feb 20, 2012
Commits on Feb 18, 2012
  1. refactored local scaler handling

    lostboy committed Feb 18, 2012
  2. updated README

    lostboy committed Feb 18, 2012
  3. update to v1.0.0

    lostboy committed Feb 18, 2012
Commits on Feb 17, 2012
  1. Change the way scalers are loaded

    * Previously, the scaler needed to be defined and loaded from
      within the workless gem. Therefore, if you wanted to implement
      a new scaler, you'd have to fork and implement. Now, you can
      defined a scaler by putting it in the Delayed::Workless::Scaler
      module and you should be good to go
    * How this works technically:
      - The previous way was to require the scaler from within the gem
        directory, and then instantiate a new instance of the scaler
      - Now, the scalers only have class methods as "callbacks". Since
        the scalers aren't holding content (ie. instance variables),
        there's no need for the scalers to be instantiated
    * For scalers that need to talk to heroku, you need to extend the
      scaler to use Delayed::Workless::Scaler::HerokuClient
    * Example scaler:
    
        class Delayed::Workless::Scaler::SuperDuperRandom
    
          extend Delayed::Workless::Scaler::HerokuClient
    
          def self.up
            client.set_workers(ENV['APP_NAME'], rand(24)
          end
    
          def self.down
            client.set_workers(0)
          end
    
        end
    bdotdub committed with lostboy Aug 3, 2011
  2. rails 2.3.x compatibility

    lostboy committed Feb 17, 2012
Commits on Sep 28, 2011
  1. Merge pull request #13 from lucisferre/patch-1

    Added the APP_NAME config variable that is needed for the cedar scaler.
    lostboy committed Sep 28, 2011