log cleanup

This commit is contained in:
j 2016-02-26 11:24:31 +05:30
parent bdba52185c
commit a026d42428
1 changed files with 2 additions and 0 deletions

View File

@ -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