Skip to content

Commit

Permalink
Merge pull request #536 from vtex/fix/v6.45.18/build
Browse files Browse the repository at this point in the history
Remove `prometheusLoggerMiddleware` async typing
  • Loading branch information
arturpimentel authored Jul 7, 2023
2 parents c8b4ca4 + e5340d5 commit d7acc18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vtex/api",
"version": "6.45.17",
"version": "6.45.18",
"description": "VTEX I/O API client",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/service/worker/runtime/builtIn/middlewares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const addMetricsLoggerMiddleware = () => {
}
}

export const prometheusLoggerMiddleware = async () => {
export const prometheusLoggerMiddleware = () => {
collectDefaultMetrics()
const eventLoopLagMeasurer = new EventLoopLagMeasurer()
eventLoopLagMeasurer.start()
Expand Down

0 comments on commit d7acc18

Please sign in to comment.