log cleanup

This commit is contained in:
j 2016-02-26 11:24:31 +05:30
parent bdba52185c
commit a026d42428

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