Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
bced72f6 by Cédric Krier at 2024-02-06T12:59:00+01:00
Lock table at transaction start for with_transaction decorator

Since c8771e45b861 TransactionError is raised if a table is not locked at the
transaction start. The decorator must manage such exception in case the
decorated route needs to lock a table.

Closes #12962
- - - - -
6ba5face by Cédric Krier at 2024-02-06T13:26:34+01:00
Clear transaction tasks on retry of with_transaction decorator

Closes #13008
- - - - -
d1d73986 by Cédric Krier at 2024-02-06T14:17:10+01:00
Add duration in logging message of with_pool decorator

This applies the same design as 180997544b2e did to the dispatcher.
- - - - -


1 changed file:

- trytond/trytond/protocols/wrappers.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/d32bf44579d3c5293885f66376c49bd9414f9171...d1d739868319599a7cafcb43abb49ee04c765c54

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/d32bf44579d3c5293885f66376c49bd9414f9171...d1d739868319599a7cafcb43abb49ee04c765c54
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to