Fix _notify_empty typo

pull/4/merge
Erik Johnston 7 years ago
parent 28b338ed9b
commit 17b54389fe
  1. 2
      synapse/util/file_consumer.py

@ -110,7 +110,7 @@ class BackgroundFileConsumer(object):
if self.bytes_queue.qsize() <= self._RESUME_ON_QUEUE_SIZE:
reactor.callFromThread(self._resume_paused_producer)
if self._notify_empty and self.bytes_queue.empty():
if self._notify_empty_deferred and self.bytes_queue.empty():
reactor.callFromThread(self._notify_empty)
bytes = self.bytes_queue.get()

Loading…
Cancel
Save