Permalink
Commits on Feb 1, 2012
  1. Update README to mention suggested ensureIndex

    lunaru committed Feb 1, 2012
  2. Merge pull request #1 from oodle/master

    Lu Wang committed Feb 1, 2012
    Add support for Covered Indexes
  3. Add priority queue functionality

    lunaru committed Feb 1, 2012
    Use a new 'priority' attribute in each document. Sort by this priority attribute when pulling jobs from the queue. Priority is completely optional
Commits on Nov 11, 2011
Commits on Aug 31, 2011
  1. 1) Fix typo $collction -> $collection

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

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

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

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

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

    lunaru committed Sep 8, 2010
    …() 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
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…

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

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

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

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

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

    lunaru committed Jul 23, 2010