Skip to content

Commit

Permalink
Remove diagnostic code
Browse files Browse the repository at this point in the history
  • Loading branch information
mjameswh committed Sep 1, 2023
1 parent 6ccb4ac commit 93d7095
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/worker/src/worker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import crypto, { randomUUID } from 'node:crypto';
import crypto from 'node:crypto';
import fs from 'node:fs/promises';
import * as path from 'node:path';
import * as vm from 'node:vm';
Expand Down Expand Up @@ -425,8 +425,6 @@ export class Worker {
protected readonly tracer: otel.Tracer;
protected readonly workflowCodecRunner: WorkflowCodecRunner;

private readonly workerId = randomUUID();

/**
* Create a new Worker.
* This method initiates a connection to the server and will throw (asynchronously) on connection failure.
Expand Down Expand Up @@ -749,7 +747,7 @@ export class Worker {
}

protected set state(state: State) {
this.log.info('Worker state changed', { state, workerId: this.workerId });
this.log.info('Worker state changed', { state });
this.stateSubject.next(state);
}

Expand Down

0 comments on commit 93d7095

Please sign in to comment.