summaryrefslogtreecommitdiffstats
path: root/meta
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-12-31 10:10:20 +0000
commite3743bbe945d77e14e2593fc6a1f255f71b96861 (patch)
tree4d7372fa014ae0d42f1d0a774d76de8d789db4f3 /meta
parent02627ad3d93e8221daf5d178c096ab48a9d1fd68 (diff)
downloadpoky-e3743bbe945d77e14e2593fc6a1f255f71b96861.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: 973ac2cc63323ca9c3e916effa4765747db3564c) Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions