Skip to content

Commit

Permalink
[ws-manager-api] Remove hardcoded grpc call deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and roboquat committed Sep 6, 2021
1 parent 6ae2dc8 commit a8e41ec
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,7 @@ export class PromisifiedWorkspaceManagerClient implements Disposable {
}

protected getDefaultUnaryOptions(): Partial<grpc.CallOptions> {
/* the node grpc client does not support dial timeouts, hence we need to time out the operation as a whole.
*/
let deadline = new Date(new Date().getTime() + 10000);
return {
deadline
}
}

Expand Down

0 comments on commit a8e41ec

Please sign in to comment.