Skip to content

Commit

Permalink
Merge branch 'master' into enh/multiple-annoncements
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz authored Nov 18, 2024
2 parents db8fb36 + 7ec1d25 commit 21181d2
Show file tree
Hide file tree
Showing 6 changed files with 216 additions and 171 deletions.
2 changes: 1 addition & 1 deletion packages/models-library/src/models_library/clusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class Config:


ClusterID: TypeAlias = NonNegativeInt
DEFAULT_CLUSTER_ID: Final[NonNegativeInt] = 0
DEFAULT_CLUSTER_ID: Final[ClusterID] = 0


class Cluster(BaseCluster):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ async def start_scheduler() -> None:
with log_context(
_logger, level=logging.INFO, msg="starting computational scheduler"
):
app.state.scheduler = scheduler = await _scheduler_factory.create_from_db(
app
)
scheduler.recover_scheduling()
app.state.scheduler = await _scheduler_factory.create_from_db(app)

return start_scheduler

Expand Down
Loading

0 comments on commit 21181d2

Please sign in to comment.