File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/generic_scheduler Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -150,12 +150,6 @@ def __init__(
150150 self .unknown_status_wait_before_retry = unknown_status_wait_before_retry
151151 self ._store : Store = get_store (app )
152152
153- async def setup (self ) -> None :
154- pass
155-
156- async def shutdown (self ) -> None :
157- pass
158-
159153 async def create (
160154 self , operation_name : OperationName , initial_operation_context : OperationContext
161155 ) -> ScheduleId :
@@ -613,10 +607,8 @@ async def _set_unexpected_opration_state(
613607
614608
615609async def lifespan (app : FastAPI ) -> AsyncIterator [State ]:
616- app .state .generic_scheduler_core = core = Core (app )
617- await core .setup ()
610+ app .state .generic_scheduler_core = Core (app )
618611 yield {}
619- await core .shutdown ()
620612
621613
622614def get_core (app : FastAPI ) -> Core :
You can’t perform that action at this time.
0 commit comments