mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-21 18:17:47 +00:00
Fix negative counts for object_queued. fixes ticket:2731
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
625c5a42cd
commit
e67d23b8fa
@ -865,6 +865,7 @@ class Downloader(QueueMixin, WriteFileMixin):
|
|||||||
)
|
)
|
||||||
to_dl.set_status('queued', self._clock.seconds())
|
to_dl.set_status('queued', self._clock.seconds())
|
||||||
self._deque.append(to_dl)
|
self._deque.append(to_dl)
|
||||||
|
self._count("objects_queued")
|
||||||
else:
|
else:
|
||||||
self._log("Excluding %r" % (relpath_u,))
|
self._log("Excluding %r" % (relpath_u,))
|
||||||
self._call_hook(None, 'processed', async=True) # await this maybe-Deferred??
|
self._call_hook(None, 'processed', async=True) # await this maybe-Deferred??
|
||||||
|
Loading…
x
Reference in New Issue
Block a user