From 6b551973e8f2545f1a707717dcfa407c16d49990 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 29 Nov 2016 23:21:22 +0900 Subject: [PATCH] queue -> tasks --- server/block_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/block_processor.py b/server/block_processor.py index 1e661ac..fbe2c57 100644 --- a/server/block_processor.py +++ b/server/block_processor.py @@ -49,8 +49,8 @@ class Prefetcher(LoggedClass): synchronize. ''' with await self.semaphore: - while not self.queue.empty(): - self.queue.get_nowait() + while not self.tasks.empty(): + self.tasks.get_nowait() self.cache = [] self.cache_size = 0 self.fetched_height = height