Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 18, 2025
1 parent 2f2db91 commit 4006b06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions comps/cores/mega/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ def _pending_update_real(self, increase: bool) -> None:
else:
self.request_pending.dec()


# Prometheus metrics need to be singletons, not per Orchestrator
_metrics = OrchestratorMetrics()


class ServiceOrchestrator(DAG):
"""Manage 1 or N micro services in a DAG through Python API."""

Expand Down

0 comments on commit 4006b06

Please sign in to comment.