Skip to content

Commit

Permalink
Fix negative counts for object_queued. fixes ticket:2731
Browse files Browse the repository at this point in the history
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
  • Loading branch information
daira committed Mar 22, 2016
1 parent 8b8a0ef commit d5b494b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/allmydata/frontends/magic_folder.py
Expand Up @@ -865,6 +865,7 @@ def _filter_batch_to_deque(ign):
)
to_dl.set_status('queued', self._clock.seconds())
self._deque.append(to_dl)
self._count("objects_queued")
else:
self._log("Excluding %r" % (relpath_u,))
self._call_hook(None, 'processed', async=True) # await this maybe-Deferred??
Expand Down

0 comments on commit d5b494b

Please sign in to comment.