How did you hook up your celery tasks to only execute if the transaction on the request committed?
On Fri, Oct 28, 2011 at 9:35 AM, Łukasz Oleś <[email protected]> wrote: > Hi, > > I'm using celery with pyramid without any problems. > I'm using pyramid_tm module which uses transaction module. > > On 28 Paź, 09:36, John Anderson <[email protected]> wrote: > > I was wondering if any of you guys have used celery with Pyramid. I'm > > looking for a way to have my tasks only execute if the db transaction > > commits. That way any data the task expects is in the db and the task > only > > executes if the data is valid. > > -- > Łukasz Oleś > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
