diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-28 16:10:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-29 00:13:22 +0100 |
commit | d5e860be4c12a9d6655665af391ffd6f9351f8eb (patch) | |
tree | 7556d284a5971422aaf476bea54a826c41bb7f33 /meta/classes/package_ipk.bbclass | |
parent | 06d76645900b2a7db8f88a0ad3bf4ae66cef52f1 (diff) | |
download | 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/classes/package_ipk.bbclass')
0 files changed, 0 insertions, 0 deletions