Skip to content

Commit

Permalink
fix typo causing infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Apr 23, 2024
1 parent 9095b33 commit 94aac39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RPCServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class RpcConnector implements IPoolConnector {
job = await Utils.busyWaitForSomething(
async () => {
try {
job = await this.getJob(request, context);
job = await this.conn.getJob(nodeId, id);
const isDone = job && job.state.status == JobStatus.SUCCESS && job.result.timestamp;
if (isDone) return job;
} catch (e) {}
Expand Down

0 comments on commit 94aac39

Please sign in to comment.