hayksaakian/taskbreaker — pull request #1 by greg-barnett (2012-11-09 04:20:20+00:00)
Title: Fixed code so that delayed_job isn't implicated as cause of errors

switched to pg from mongo to eliminate mongo as cause
added record locking to avoid race condition
create instead of new, so that delayed job doesn't raise an exception on unsaved record