24 Oct
2012
24 Oct
'12
8:29 p.m.
On 25/10/12 14:07, Yury Selivanov wrote:
Right. And that rolling back - a tiny db query "rollback" - is an async code,
Only if we implement it as a blocking operation as far as our task scheduler is concerned. I wouldn't do it that way -- I'd perform it synchronously and assume it'll be fast enough for that not to be a problem. BTW, we seem to be using different definitions for the term "query". To my way of thinking, a rollback is *not* a query, even if it happens to be triggered by sending a "rollback" command to the SQL interpreter. At the Python API level, it should appear as a distinct operation with its own method. -- Greg