queue -> tasks
This commit is contained in:
parent
056419f847
commit
6b551973e8
@ -49,8 +49,8 @@ class Prefetcher(LoggedClass):
|
|||||||
synchronize.
|
synchronize.
|
||||||
'''
|
'''
|
||||||
with await self.semaphore:
|
with await self.semaphore:
|
||||||
while not self.queue.empty():
|
while not self.tasks.empty():
|
||||||
self.queue.get_nowait()
|
self.tasks.get_nowait()
|
||||||
self.cache = []
|
self.cache = []
|
||||||
self.cache_size = 0
|
self.cache_size = 0
|
||||||
self.fetched_height = height
|
self.fetched_height = height
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user