Skip to content

fix: only start timers if they are enabled

Codecov / codecov/patch failed Nov 28, 2023 in 0s

76.47% of diff hit (target 99.39%)

View this Pull Request on Codecov

76.47% of diff hit (target 99.39%)

Annotations

Check warning on line 301 in src/fastify-metrics.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/fastify-metrics.ts#L301

Added line #L301 was not covered by tests

Check warning on line 303 in src/fastify-metrics.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/fastify-metrics.ts#L303

Added line #L303 was not covered by tests