mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 08:31:52 +03:00
uvloop doesnt support child watchers so dont use it for timelord which has to launch vdfs
This commit is contained in:
parent
30713a6615
commit
00f474f500
@ -1,5 +1,4 @@
|
||||
import asyncio
|
||||
import uvloop
|
||||
import io
|
||||
import logging
|
||||
import os
|
||||
@ -27,7 +26,6 @@ log = logging.getLogger(__name__)
|
||||
|
||||
class Timelord:
|
||||
def __init__(self):
|
||||
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
||||
config_filename = os.path.join(ROOT_DIR, "config", "config.yaml")
|
||||
self.config = safe_load(open(config_filename, "r"))["timelord"]
|
||||
self.free_servers: List[Tuple[str, str]] = list(
|
||||
|
Loading…
Reference in New Issue
Block a user