connector
This commit is contained in:
parent
69c3baf423
commit
6bb53e9290
@ -9,7 +9,7 @@ import sys
|
|||||||
|
|
||||||
class BlockLoader:
|
class BlockLoader:
|
||||||
def __init__(self, parent, workers=4):
|
def __init__(self, parent, workers=4):
|
||||||
self.worker = list()
|
self.worker = dict()
|
||||||
self.log = parent.log
|
self.log = parent.log
|
||||||
self.loop = parent.loop
|
self.loop = parent.loop
|
||||||
self.loop.set_default_executor(ThreadPoolExecutor(workers * 2))
|
self.loop.set_default_executor(ThreadPoolExecutor(workers * 2))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user