diff --git a/backend/load_plans.py b/backend/load_plans.py index 89d034f..1b28713 100644 --- a/backend/load_plans.py +++ b/backend/load_plans.py @@ -28,7 +28,7 @@ def __init__(self, school_number: str, plan_downloader: PlanDownloader, plan_pro self.school_number = school_number self.plan_downloader = plan_downloader self.plan_processor = plan_processor - self._plan_compute_executor = concurrent.futures.ProcessPoolExecutor(max_workers=1) + self._plan_compute_executor = concurrent.futures.ThreadPoolExecutor(max_workers=1) self._plan_compute_awaiter_executor = concurrent.futures.ThreadPoolExecutor(max_workers=2) async def check_infinite(self, interval: int = 60, *, once: bool = False, ignore_exceptions: bool = False):