Przeglądaj źródła

delete some startup events

highing666 3 lat temu
rodzic
commit
2e728fae28
1 zmienionych plików z 3 dodań i 12 usunięć
  1. 3 12
      app/core/events.py

+ 3 - 12
app/core/events.py

@@ -4,21 +4,12 @@ from typing import Callable, Optional
 
 from fastapi import FastAPI
 
-from app.controllers.equipment.events import (
-    regulate_ahu_freq,
-    regulate_ahu_switch,
-    regulate_ventilation_fan_switch,
-)
-# from app.controllers.events import load_q_learning_model
+from app.controllers.equipment.events import regulate_ahu_freq
 
 
 def create_start_app_handler(app: Optional[FastAPI] = None) -> Callable:
     async def start_app() -> None:
-        # await load_q_learning_model()
-        await regulate_ahu_freq()
-        await regulate_ahu_switch()
-        # await regulate_pau_switch()
-        await regulate_ventilation_fan_switch()
-        # await run_control_group()
+        # await regulate_ahu_freq()
+        pass
 
     return start_app