Don't allow parallel rebuild
This commit is contained in:
parent
b84abea670
commit
4fe33268ac
1 changed files with 2 additions and 1 deletions
|
@ -114,6 +114,7 @@ class SiteStorage(object):
|
||||||
time.sleep(0.000001) # Context switch to avoid UI block
|
time.sleep(0.000001) # Context switch to avoid UI block
|
||||||
|
|
||||||
# Rebuild sql cache
|
# Rebuild sql cache
|
||||||
|
@util.Noparallel()
|
||||||
def rebuildDb(self, delete_db=True):
|
def rebuildDb(self, delete_db=True):
|
||||||
self.has_db = self.isFile("dbschema.json")
|
self.has_db = self.isFile("dbschema.json")
|
||||||
if not self.has_db:
|
if not self.has_db:
|
||||||
|
|
Loading…
Reference in a new issue