diff options
| author | Antony Lesuisse <al@openerp.com> | 2014-03-17 04:14:48 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2014-03-17 04:14:48 +0100 |
| commit | 338c0a3f5e191b44a94e150104652faf64547ca6 (patch) | |
| tree | 5a6c8e6a5939ae036afcca0e98b187e8eff6f694 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 706ef452cb61b4b03e5e372dbf8fbb36fd3b0661 (diff) | |
[FIX] race condition for test cursors
If a test ends before handling all its http queries (serialised by a Rlock),
threads created for unfufilled queries may hang because the interrupted thread
might not have unlocked its cursor as it might have dissapeared from
HTTP_SESSION before request release_test_cursor. We now use the cursor itself
instead of HTTP_SESSION.
bzr revid: al@openerp.com-20140317031448-rffj7gixgk8jzeqp
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
