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')
|
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
|
||||||
|
|
Loading…
Reference in a new issue