Skip to content

Commit 4c6d286

Browse files
chrisclarkauvipy
authored andcommitted
Show number of syncing entries in the log (#481)
* Show number of syncing entries in the log Useful for debugging purposes; it's nice to know whether any tasks are actually being sync'ed. * Lazy eval of log message
1 parent 4ed4067 commit 4c6d286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djcelery/schedulers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def reserve(self, entry):
198198
return new_entry
199199

200200
def sync(self):
201-
info('Writing entries...')
201+
info('Writing entries (%s)...', len(self._dirty))
202202
_tried = set()
203203
try:
204204
with commit_on_success():

0 commit comments

Comments
 (0)