Skip to content

Commit e714489

Browse files
committed
grpc-js: Restart deadline timer after getting timeout from service config
1 parent 9af9392 commit e714489

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/grpc-js/src/resolving-call.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export class ResolvingCall implements Call {
145145
config.methodConfig.timeout.nanos / 1_000_000
146146
);
147147
this.deadline = minDeadline(this.deadline, configDeadline);
148+
this.runDeadlineTimer();
148149
}
149150

150151
this.filterStackFactory.push(config.dynamicFilterFactories);

0 commit comments

Comments
 (0)