mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-24 16:08:11 +01:00
removed loop from asyncio.queue (depracted since py 3.9 and removed in 3.10)
This commit is contained in:
parent
f83ee71369
commit
f13993db31
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
__version__ = "4.0.7.a8"
|
||||
__version__ = "4.0.7.a9"
|
||||
__codename__ = "Spring Break"
|
||||
|
||||
|
|
|
@ -21,9 +21,9 @@ class Scheduler(*bases):
|
|||
self._close_timeout = close_timeout
|
||||
self._limit = limit
|
||||
self._exception_handler = exception_handler
|
||||
self._failed_tasks = asyncio.Queue(loop=loop)
|
||||
self._failed_tasks = asyncio.Queue()
|
||||
self._failed_task = loop.create_task(self._wait_failed())
|
||||
self._pending = asyncio.Queue(maxsize=pending_limit, loop=loop)
|
||||
self._pending = asyncio.Queue(maxsize=pending_limit)
|
||||
self._closed = False
|
||||
|
||||
def __iter__(self):
|
||||
|
|
Loading…
Reference in a new issue