Permalink
Commits on Aug 31, 2011
  1. 1) Fix typo $collction -> $collection

    2) Change the run(), hasRunnable() and count() queries to include jobs with a null "when".
    lunaru committed Aug 31, 2011
Commits on Aug 17, 2011
  1. Add MongoQueue::count() back in. This has the chance of causing conte…

    …ntion on high load queues, but it's still a good utility method to have around.
    lunaru committed Aug 17, 2011
Commits on Jan 12, 2011
Commits on Jan 8, 2011
  1. Modify README to documentation expected behavior when batching in a m…

    …anually sharded setup.
    lunaru committed Jan 8, 2011
  2. Add support for distributed queueing by allowing initialization with …

    …multiple connections.
    lunaru committed Jan 8, 2011
Commits on Sep 16, 2010
  1. When batching, update the 'when' time to the lesser of the existing b…

    …atch and the new job.
    lunaru committed Sep 16, 2010
Commits on Sep 8, 2010
  1. Tweaks to MongoQueue to optimize performance: 1) Get rid of the count…

    …() call, which runs very slowly when the queue is being populated/drained at high rates. 2) Add place holder locked, locked_at, and batch fields for documents. 3) Add indexing suggestions in README
    lunaru committed Sep 8, 2010
Commits on Aug 20, 2010
Commits on Aug 18, 2010
  1. Syntax error fix

    lunaru committed Aug 18, 2010
Commits on Aug 17, 2010
  1. Add batchAt and batchLater, which allows upserts of jobs into the que…

    …ue so that if a job exists with the same parameters, nothing will be added. This is ideal for batchable idempotent operations.
    lunaru committed Aug 17, 2010
Commits on Aug 16, 2010
Commits on Aug 13, 2010
  1. Add a count() method, which returns the number of available jobs to r…

    …un currently. Fix environment loading so that it does not register a loader for every run() call.
    lunaru committed Aug 13, 2010
Commits on Jul 28, 2010
Commits on Jul 26, 2010
  1. Allow the caller of MongoQueue::run() to set a context object which i…

    …s then loaded automatically as static member variables of the Job class
    lunaru committed Jul 26, 2010
  2. Allow the caller of MongoQueue::run() to set an environment in which …

    …Job classes will automatically be loaded.
    lunaru committed Jul 26, 2010
Commits on Jul 24, 2010
  1. Add a new MongoJob class that other classes can derive from in order …

    …to get some syntactic sugar around inserting jobs
    lunaru committed Jul 24, 2010
Commits on Jul 23, 2010
  1. Initial commit

    lunaru committed Jul 23, 2010