Skip to content

Commit

Permalink
executorID is set statically in OTLPLogQueueTransport (#628)
Browse files Browse the repository at this point in the history
Remove unneeded parameterization of new spans with executor IDs.
Executor ID is statically set in the OTLP queue.
  • Loading branch information
maxdml authored Sep 27, 2024
1 parent 301285a commit 3ab544a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ export class WorkflowContextImpl extends DBOSContextImpl implements WorkflowCont
authenticatedUser: parentCtx?.authenticatedUser ?? "",
authenticatedRoles: parentCtx?.authenticatedRoles ?? [],
assumedRole: parentCtx?.assumedRole ?? "",
executorID: parentCtx?.executorID,
},
parentCtx?.span,
);
Expand Down Expand Up @@ -589,7 +588,6 @@ export class WorkflowContextImpl extends DBOSContextImpl implements WorkflowCont
readOnly: procInfo.config.readOnly ?? false,
isolationLevel: procInfo.config.isolationLevel,
executeLocally,
executorID: this.executorID,
},
this.span,
);
Expand Down Expand Up @@ -635,7 +633,6 @@ export class WorkflowContextImpl extends DBOSContextImpl implements WorkflowCont
authenticatedRoles: this.authenticatedRoles,
readOnly: readOnly,
isolationLevel: txnInfo.config.isolationLevel,
executorID: this.executorID,
},
this.span,
);
Expand Down Expand Up @@ -742,7 +739,6 @@ export class WorkflowContextImpl extends DBOSContextImpl implements WorkflowCont
authenticatedUser: this.authenticatedUser,
assumedRole: this.assumedRole,
authenticatedRoles: this.authenticatedRoles,
executorID: this.executorID,
retriesAllowed: commInfo.config.retriesAllowed,
intervalSeconds: commInfo.config.intervalSeconds,
maxAttempts: commInfo.config.maxAttempts,
Expand Down

0 comments on commit 3ab544a

Please sign in to comment.