Skip to content

Commit

Permalink
Revert "fix(zeebe): waitForReady deadline not miliseconds, but date (#…
Browse files Browse the repository at this point in the history
…148)"

This reverts commit 12db206.
  • Loading branch information
jwulf authored May 6, 2024
1 parent 12db206 commit 11fa889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeebe/lib/GrpcClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export class GrpcClient extends EventEmitter {
})
this.listNameMethods = []

this.client.waitForReady(new Date(Date.now() + 10000), (error) =>
this.client.waitForReady(10000, (error) =>
error
? this.emit(MiddlewareSignals.Event.Error, error)
: this.emit(MiddlewareSignals.Event.Ready)
Expand Down

0 comments on commit 11fa889

Please sign in to comment.