dprince/smokestack — Issue #25: Commit job before running it async
Author: dprince
Created: 2011-12-23 20:34:14+00:00
State: open

We currently have a race where jobs with fail with an error message like this:

Couldn't find JobVPC with id=7066 [WHERE `jobs`.`type` IN ('JobVPC')]

---

The fix should be to use the 'after_commit' hook rather than 'after_create' which we are already using.