In babi_multiprocess.diff, avoid registration of the model to prevent database
concurrency errors.
This commit is contained in:
parent
4782dee645
commit
6467c54542
|
@ -15,7 +15,7 @@
|
|||
+ readonly=False):
|
||||
+ Execution = pool.get('babi.report.execution')
|
||||
+ execution = Execution(int(name[15:]))
|
||||
+ execution.validate_model()
|
||||
+ execution.validate_model(avoid_registration=True)
|
||||
+ obj = pool.get(name, type=type)
|
||||
+ else:
|
||||
+ raise
|
||||
|
|
Loading…
Reference in New Issue