summaryrefslogtreecommitdiffstats
path: root/lib/prserv/db.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-04 14:02:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:09:50 +0000
commit08cf468ab751f4c6e4ffdab2d8e5d748f7698593 (patch)
treed27c3d27d8c1d550bb0509faf2ea99cce85dafd1 /lib/prserv/db.py
parent973ac2cc63323ca9c3e916effa4765747db3564c (diff)
downloadbitbake-08cf468ab751f4c6e4ffdab2d8e5d748f7698593.tar.gz
prserv/serv: Ensure sync happens in the correct thread
The sync/commit calls are happening in the submission thread which can race against the handler. The handler may start new transactions which then causes the submission thread to error with "cannot start a transaction within a transaction". The fix is to move the calls to the correct thread. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/prserv/db.py')
0 files changed, 0 insertions, 0 deletions