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') logger.debug('synced items')
if not state.shutdown: if not state.shutdown:
cleanup_lists() cleanup_lists()
logger.debug('lists cleaned up')
if not state.shutdown: if not state.shutdown:
cleanup_peers() cleanup_peers()
logger.debug('peers cleaned up')
def cleanup_lists(): def cleanup_lists():
import item.models import item.models