diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-12-03 21:42:33 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-07 12:38:22 +0000 |
commit | 71b427bf01374973a971c10cb64024c8ef2a11eb (patch) | |
tree | 39e10d1e039162be593d9d9cfc65f44cada13d0f /lib | |
parent | 79100fa67539f9654af9bf6d3e6842eb5c12e989 (diff) | |
download | bitbake-71b427bf01374973a971c10cb64024c8ef2a11eb.tar.gz |
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).
[YOCTO #13030]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/persist_data.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py index 149279209..41fcf2a41 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): |