log cleanup
This commit is contained in:
parent
bdba52185c
commit
a026d42428
1 changed files with 2 additions and 0 deletions
|
@ -336,8 +336,10 @@ def sync_db():
|
|||
logger.debug('synced items')
|
||||
if not state.shutdown:
|
||||
cleanup_lists()
|
||||
logger.debug('lists cleaned up')
|
||||
if not state.shutdown:
|
||||
cleanup_peers()
|
||||
logger.debug('peers cleaned up')
|
||||
|
||||
def cleanup_lists():
|
||||
import item.models
|
||||
|
|
Loading…
Reference in a new issue