All tasks (including events) currently flush to mongo immediately. So a g.post_event('project_updated')
event can be persisted to mongo and picked up by a taskd
instance (if you have many that are very fast) and start executing on stale data, all before the end of the original request where the project changes are saved.
Fixed in db/8345