Permalink
Switch branches/tags
Nothing to show
Commits on Aug 25, 2012
Commits on Sep 16, 2011
Commits on Jul 28, 2011
  1. We should only catch and log our own errors.

    Yanzhu Du committed Jul 28, 2011
Commits on Jul 27, 2011
  1. Exception inside a block is a normal situation and should be logged a…

    …s so.
    Yanzhu Du committed Jul 27, 2011
Commits on Jul 25, 2011
  1. We have the lock if refcount is greater than 0.

    Yanzhu Du committed Jul 25, 2011
  2. Make sure UTC time is passed to Mongo

    Yanzhu Du committed Jul 25, 2011
Commits on Jul 22, 2011
  1. Added Mongo::Locking::ModelMethods#have_lock? predicate.

      - This tells you if you're inside a lock block i.e. have acquired a lock and
        it is not released yet.
    usergenic committed Jul 22, 2011
  2. Version bump for release.

    jpr5 committed Jul 22, 2011
  3. Comment polish.

    jpr5 committed Jul 22, 2011
  4. Fixed logic bug with 'expire_at' when acquiring new lock.

     - expire_at can't be compared to a time if it is not present/nil.
    usergenic committed Jul 22, 2011
Commits on Jul 20, 2011
  1. Expired lock recovery logic

    Yanzhu Du committed Jul 20, 2011
  2. Acquire and release lock from the same object.

    This ensures @refcount_key is the same when we acquire and release the lock, which ensure the thread specific refcount is tracked correctly.
    Yanzhu Du committed Jul 20, 2011
Commits on Jul 19, 2011
  1. Fix lock deletion logging.

    Yanzhu Du committed Jul 19, 2011
Commits on Jul 16, 2011
  1. Comment and style updates.

    jpr5 committed Jul 16, 2011
  2. Documentation updates.

    jpr5 committed Jul 16, 2011
Commits on Jul 15, 2011
  1. Removed dependency on class_inheritable_accessor for the locker method.

      - class_inheritable_accessor alias_method_chains `inherited` to provide
        its special brand of magic.
    
      - DataMapper doesn't play nice with class_inheritable_accessor as
        it hijacks `inherited`.
    
      - We don't need on-inherit behavior, we just need basic lazy evaluation and
        ancestry search, so a simple `def locker` with a superclass fallback does
        the trick.
    usergenic committed Jul 15, 2011
  2. More README updates.

    jpr5 committed Jul 15, 2011
Commits on Jul 14, 2011
  1. Remove unnecessary logging.

    jpr5 committed Jul 14, 2011
  2. More doc improvements.

    jpr5 committed Jul 14, 2011
  3. README updates (markdown hatred).

    jpr5 committed Jul 14, 2011
  4. Markdown battle - FIGHT!

    jpr5 committed Jul 14, 2011
  5. Add a license.

    jpr5 committed Jul 14, 2011
  6. Updated Rakefile.

    jpr5 committed Jul 14, 2011
  7. Documentation updates.

    jpr5 committed Jul 14, 2011