summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-28 16:10:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-29 00:13:22 +0100
commitd5e860be4c12a9d6655665af391ffd6f9351f8eb (patch)
tree7556d284a5971422aaf476bea54a826c41bb7f33 /meta
parent06d76645900b2a7db8f88a0ad3bf4ae66cef52f1 (diff)
downloadast2050-yocto-poky-d5e860be4c12a9d6655665af391ffd6f9351f8eb.zip
ast2050-yocto-poky-d5e860be4c12a9d6655665af391ffd6f9351f8eb.tar.gz
bitbake: prserv/serv: Multithread the server
This makes the PR server multithreaded and able to handle multiple connections at once which means its no longer a build bottle neck when serving one connection at a time. I've experimented and database connection for each thread seems to cause the least issues, pushing the contention for sqllite to handle itself. This means moving the db/table connection code into the actual function methods. It doesn't abstract well as a function since we need the db object around for the lifetime of the function as well as the table else we lose the connection. (Bitbake rev: bf9be2029b2bded5f532bdda4c38ae3dff5d1cf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud