summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorBen Shelton <ben.shelton@ni.com>2014-10-27 12:27:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-28 15:00:39 +0000
commitcf82c6756bad8f7a5edc92ce513e02816b88efb3 (patch)
treea354f97b4e038ef0af88f60651a9a56926e3143e /documentation
parent2794f916ff4f13f71ecd829c2f0a838634d35352 (diff)
downloadpoky-cf82c6756bad8f7a5edc92ce513e02816b88efb3.tar.gz
bitbake: prserv: don't wait until exit to sync
In the commit 'prserv: Ensure data is committed', the PR server moved to only committing transactions to the database when the PR server is stopped. This improves performance, but it means that if the machine running the PR server loses power unexpectedly or if the PR server process gets SIGKILL, the uncommitted package revision data is lost. To fix this issue, sync the database periodically, once per 30 seconds by default, if it has been marked as dirty. To be safe, continue to sync the database at exit regardless of its status. (Bitbake rev: 424df64f2e9679043f0ce2b4f7dfc59c3d404304) Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
0 files changed, 0 insertions, 0 deletions