Permalink
Commits on Feb 2, 2013
Commits on Feb 1, 2013
  1. Merge pull request #77 from seomoz/middlewares

    myronmarston committed Feb 1, 2013
    Middlewares
  2. Expose `job_reservers` off of the worker instance.

    myronmarston committed Feb 1, 2013
    It's useful in some specs I'm writing in our app to have access to this.
  3. Add sentry middleware.

    myronmarston committed Feb 1, 2013
Commits on Jan 31, 2013
  1. Merge pull request #76 from seomoz/fix-74

    myronmarston committed Jan 31, 2013
    Fix #74 using the "bandaid" solution
  2. Fixes #74

    benkirzhner committed Jan 31, 2013
Commits on Jan 30, 2013
  1. Merge pull request #75 from seomoz/remove_worker_client

    myronmarston committed Jan 30, 2013
    Remove worker client reference.
Commits on Jan 29, 2013
  1. Remove worker client reference.

    myronmarston committed Jan 29, 2013
    The Qless::Worker does not need a reference to a client. It restrict
    flexibility by coupling it to one client like this.  While it does not
    normally make sense to do so, we have a case where would like a
    single worker to pull jobs from queues on multiple qless servers,
    which works just fine because the queue objects themselves know
    what client to talk to.
  2. Merge pull request #72 from seomoz/allow_multiple_server_uis

    myronmarston committed Jan 29, 2013
    Make the server client instance rather than class state.
Commits on Jan 28, 2013
  1. Resolve constant name starting at Object rather than Kernel.

    myronmarston committed Jan 28, 2013
    Kernel works fine when the constant is defined, but when it
    is undefined, it leads to a confusing error:
    
    `undefined constant Kernel::MyJob`
    
    ...rather than:
    
    `undefined constant MyJob`
  2. Update rspec.

    myronmarston committed Jan 28, 2013
    Note that this exposed an rspec-mocks bug that I plan to tackle soon:
    
    rspec/rspec-mocks#217
Commits on Jan 24, 2013
  1. Make the server client instance rather than class state.

    myronmarston committed Jan 24, 2013
    We're going to be sharding our qless usage soon and having multiple qless redis servers.  We would like to have on web UI per qless redis server, and each
    needs to be connected to a different qless redis server.
Commits on Jan 23, 2013
  1. Merge pull request #70 from databus23/fix_busyloop_on_paused_worker

    myronmarston committed Jan 23, 2013
    Avoid busy loop when worker is paused.
Commits on Jan 18, 2013
Commits on Jan 16, 2013
  1. slight rewording of the describe string in the spec

    Patrick Roby committed Jan 16, 2013
Commits on Jan 15, 2013
  1. Fix #complete so it doesn't silently fail.

    myronmarston committed Jan 15, 2013
    Exceptions are better than `false` values.
  2. Provide a DB number by default.

    myronmarston committed Jan 15, 2013
    This should fix a failing travis ci test.
  3. Use be_a matcher rather than matching the class exactly.

    myronmarston committed Jan 15, 2013
    On travis ci, these values have been Bignums, not Fixnums, for some reason.
  4. Make event specs more consistent.

    myronmarston committed Jan 15, 2013
    These have been failing intermittently for me because they had race conditions.
    My solution:
    
    - Use a shared context to manage killing the thread at the end of every test to ensure a clean thread state.
    - Use a stdlib Queue to synchronize between threads; this is far better then `thread.join(0.01)`.
  5. Update rake to latest.

    myronmarston committed Jan 15, 2013
Commits on Jan 11, 2013
  1. Use the version constant rather than rubygems to get the version.

    myronmarston committed Jan 11, 2013
    Gem.loaded_specs['redis'] was returning nil when using bundler's
    standalone mode (which avoids using rubygems at runtime).