do not index tables on live systems
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1292 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -134,6 +134,9 @@ class etpDatabase:
|
||||
self.indexing = indexing
|
||||
if etpConst['uid'] > 0: # forcing since we won't have write access to db
|
||||
self.indexing = False
|
||||
# live systems don't like wasting RAM
|
||||
if entropyTools.islive():
|
||||
self.indexing = False
|
||||
self.dbFile = dbFile
|
||||
self.updateProgress = OutputInterface.updateProgress
|
||||
self.askQuestion = OutputInterface.askQuestion
|
||||
|
||||
Reference in New Issue
Block a user