Don't reindex on startup
This commit is contained in:
@@ -63,7 +63,6 @@ class Release(Plugin):
|
||||
|
||||
def cleanDone(self):
|
||||
log.debug('Removing releases from dashboard')
|
||||
time.sleep(3)
|
||||
|
||||
now = time.time()
|
||||
week = 262080
|
||||
@@ -88,9 +87,6 @@ class Release(Plugin):
|
||||
|
||||
del media_exist
|
||||
|
||||
# Reindex statuses
|
||||
db.reindex_index('media_status')
|
||||
|
||||
# get movies last_edit more than a week ago
|
||||
medias = fireEvent('media.with_status', 'done', single = True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user