pull/105/head
ApexLiu 2017-11-06 01:50:26 +08:00
parent f0e1c2afc8
commit 99529630c6
2 changed files with 3 additions and 6 deletions

View File

@ -540,10 +540,6 @@ class AppConfig(BaseAppConfig):
self.sys.loaded = True
# except IndexError:
# log.e('invalid system default config.\n')
# return False
return True

View File

@ -309,8 +309,9 @@ def cleanup_storage(handler):
msg = []
have_error = False
sto.keep_log = 5
sto.keep_record = 5
# for test.
# sto.keep_log = 5
# sto.keep_record = 5
s = SQL(db)
chk_time = _now - sto.keep_log * 24 * 60 * 60