python - SQLAlchemy after_insert triggering celery tasks -


I am starting celery functions after after_insert incidents

DB in some celery functions There is an end to updating and therefore new inserted row ID is required. This is a very error prone because it appears that if the work of celery starts moving immediately, sometimes Scllmi does not end up with DB and celery will not get the line

What are my other options?

I think I can collect these vegetable works in some way and send it to "after_commit", but it is unnecessarily complex.

It was not so complicated, sub-session sessions, after which to add functions through after_insert A list was provided for. Then run through the list later.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -