Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into feat/track-intl-server-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
JAdshead authored Jan 13, 2021
2 parents 1355303 + 600b67b commit 9a73c16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@
"lean-intl": "^4.2.2",
"make-promises-safe": "^5.1.0",
"matcher": "^3.0.0",
"opossum": "^5.0.0",
"opossum-prometheus": "^0.1.0",
"opossum": "^5.1.2",
"opossum-prometheus": "^0.3.0",
"pidusage": "^2.0.21",
"prom-client": "^12.0.0",
"prop-types": "^15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion src/server/metrics/circuit-breaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import CircuitBreaker from 'opossum';
/* istanbul ignore next */
const noop = () => 0;
const noopBreaker = new CircuitBreaker(noop);
const metrics = new PrometheusMetrics(noopBreaker, register);
const metrics = new PrometheusMetrics({ circuits: [noopBreaker], registry: register });

/* eslint-disable-next-line import/prefer-default-export */
export const registerCircuitBreaker = (breaker) => {
Expand Down

0 comments on commit 9a73c16

Please sign in to comment.