Skip to content

Commit 73aaa87

Browse files
authored
Merge pull request #28 from AthennaIO/develop
chore(queue): run with rTracer correctly
2 parents 42b029d + 5696c7f commit 73aaa87

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@athenna/queue",
3-
"version": "5.12.0",
3+
"version": "5.13.0",
44
"description": "The Athenna queue handler.",
55
"license": "MIT",
66
"author": "João Lenon <lenon@athenna.io>",

src/worker/WorkerTaskBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class WorkerTaskBuilder {
101101

102102
this.worker.handler = async ctx => {
103103
if (WorkerImpl.rTracerPlugin) {
104-
return WorkerImpl.rTracerPlugin.runWithId(async ctx => {
104+
return WorkerImpl.rTracerPlugin.runWithId(async () => {
105105
await handler(ctx)
106106

107107
logIfEnabled(ctx)

0 commit comments

Comments
 (0)