>
> `request.tm.commit()`, `request.tm.abort()` and `request.tm.begin()` 
> instead of `request.dbsession.commit()`. 


Thanks, Michael. This obvious answer is what I'll use.

I am very familiar with Celery and task runners, and have a few app using 
it with Pyramid.

In this particular application, the work/results are all instant - there 
are no potentially long-running subprocesses.  I just need to commit 
multiple times within a view to ensure the database records an action was 
performed.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/eb885f42-86b0-413b-9f2e-e1e91d9c95a3%40googlegroups.com.

Reply via email to