[oe-commits] [bitbake] 04/05: persist_data: Disable enable_shared_cache
git at git.openembedded.org
git at git.openembedded.org
Sat Aug 11 10:08:33 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit a5e74d90b08a4be9ea48ee06e6ff038bb848324a
Author: Joshua Watt <jpewhacker at gmail.com>
AuthorDate: Thu Aug 9 17:08:29 2018 -0500
persist_data: Disable enable_shared_cache
Turns off the shared cache. It isn't a significant factor in performance
(now that WAL is enabled), and is a really bad idea to have enabled in
processes that fork() (as bitbake it prone to do).
Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/persist_data.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py
index 9a4e7dd..f0d3ce6 100644
--- a/lib/bb/persist_data.py
+++ b/lib/bb/persist_data.py
@@ -37,12 +37,6 @@ if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
logger = logging.getLogger("BitBake.PersistData")
-if hasattr(sqlite3, 'enable_shared_cache'):
- try:
- sqlite3.enable_shared_cache(True)
- except sqlite3.OperationalError:
- pass
-
@total_ordering
class SQLTable(collections.MutableMapping):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list