uvloop doesnt support child watchers so dont use it for timelord which has to launch vdfs

This commit is contained in:
Bill Blanke 2019-11-27 10:58:13 -08:00
parent 30713a6615
commit 00f474f500

View File

@ -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(