fix: typing

This commit is contained in:
Yeuoly
2025-10-22 11:55:26 +08:00
parent 7acbe981e2
commit c36173f5a9
2 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ from services.workflow.scheduler import CFSPlanScheduler, SchedulerCommand
logger = logging.getLogger(__name__)
class TimesliceLayer(GraphEngineLayer):
class TimeSliceLayer(GraphEngineLayer):
"""
CFS plan scheduler to control the timeslice of the workflow.
"""
@ -25,8 +25,8 @@ class TimesliceLayer(GraphEngineLayer):
CFS plan scheduler allows to control the timeslice of the workflow.
"""
if not TimesliceLayer.scheduler.running:
TimesliceLayer.scheduler.start()
if not TimeSliceLayer.scheduler.running:
TimeSliceLayer.scheduler.start()
super().__init__()
self.cfs_plan_scheduler = cfs_plan_scheduler