File tree Expand file tree Collapse file tree 10 files changed +15
-15
lines changed Expand file tree Collapse file tree 10 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export class BackoffTimeout {
63
63
* to an object representing a timer that has ended, but it can still be
64
64
* interacted with without error.
65
65
*/
66
- private timerId : NodeJS . Timer ;
66
+ private timerId : NodeJS . Timeout ;
67
67
/**
68
68
* Indicates whether the timer is currently running.
69
69
*/
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export class InternalChannel {
131
131
* the invariant is that callRefTimer is reffed if and only if pickQueue
132
132
* is non-empty.
133
133
*/
134
- private callRefTimer : NodeJS . Timer ;
134
+ private callRefTimer : NodeJS . Timeout ;
135
135
private configSelector : ConfigSelector | null = null ;
136
136
/**
137
137
* This is the error from the name resolver if it failed most recently. It
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ export class OutlierDetectionLoadBalancer implements LoadBalancer {
367
367
private childBalancer : ChildLoadBalancerHandler ;
368
368
private addressMap : Map < string , MapEntry > = new Map < string , MapEntry > ( ) ;
369
369
private latestConfig : OutlierDetectionLoadBalancingConfig | null = null ;
370
- private ejectionTimer : NodeJS . Timer ;
370
+ private ejectionTimer : NodeJS . Timeout ;
371
371
private timerStartTime : Date | null = null ;
372
372
373
373
constructor ( channelControlHelper : ChannelControlHelper ) {
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class DnsResolver implements Resolver {
96
96
private defaultResolutionError : StatusObject ;
97
97
private backoff : BackoffTimeout ;
98
98
private continueResolving = false ;
99
- private nextResolutionTimer : NodeJS . Timer ;
99
+ private nextResolutionTimer : NodeJS . Timeout ;
100
100
private isNextResolutionTimerRunning = false ;
101
101
private isServiceConfigEnabled = true ;
102
102
constructor (
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export class ResolvingCall implements Call {
41
41
private deadline : Deadline ;
42
42
private host : string ;
43
43
private statusWatchers : ( ( status : StatusObject ) => void ) [ ] = [ ] ;
44
- private deadlineTimer : NodeJS . Timer = setTimeout ( ( ) => { } , 0 ) ;
44
+ private deadlineTimer : NodeJS . Timeout = setTimeout ( ( ) => { } , 0 ) ;
45
45
private filterStack : FilterStack | null = null ;
46
46
47
47
constructor (
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ export class RetryingCall implements Call {
169
169
* Number of attempts so far
170
170
*/
171
171
private attempts : number = 0 ;
172
- private hedgingTimer : NodeJS . Timer | null = null ;
172
+ private hedgingTimer : NodeJS . Timeout | null = null ;
173
173
private committedCallIndex : number | null = null ;
174
174
private initialRetryBackoffSec = 0 ;
175
175
private nextRetryBackoffSec = 0 ;
@@ -625,7 +625,7 @@ export class RetryingCall implements Call {
625
625
return ;
626
626
}
627
627
const call = this . underlyingCalls [ this . committedCallIndex ] ;
628
- bufferEntry . callback = context . callback ;
628
+ bufferEntry . callback = context . callback ;
629
629
if ( call . state === 'ACTIVE' && call . nextMessageToSend === messageIndex ) {
630
630
call . call . sendMessageWithContext ( {
631
631
callback : ( error ) => {
@@ -668,4 +668,4 @@ export class RetryingCall implements Call {
668
668
getHost ( ) : string {
669
669
return this . host ;
670
670
}
671
- }
671
+ }
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ export class Http2ServerCallStream<
407
407
ResponseType
408
408
> extends EventEmitter {
409
409
cancelled = false ;
410
- deadlineTimer : NodeJS . Timer | null = null ;
410
+ deadlineTimer : NodeJS . Timeout | null = null ;
411
411
private statusSent = false ;
412
412
private deadline : Deadline = Infinity ;
413
413
private wantTrailers = false ;
Original file line number Diff line number Diff line change @@ -971,8 +971,8 @@ export class Server {
971
971
this . channelzTrace . addTrace ( 'CT_INFO' , 'Connection established by client ' + clientAddress ) ;
972
972
this . sessionChildrenTracker . refChild ( channelzRef ) ;
973
973
}
974
- let connectionAgeTimer : NodeJS . Timer | null = null ;
975
- let connectionAgeGraceTimer : NodeJS . Timer | null = null ;
974
+ let connectionAgeTimer : NodeJS . Timeout | null = null ;
975
+ let connectionAgeGraceTimer : NodeJS . Timeout | null = null ;
976
976
let sessionClosedByServer = false ;
977
977
if ( this . maxConnectionAgeMs !== UNLIMITED_CONNECTION_AGE_MS ) {
978
978
// Apply a random jitter within a +/-10% range
@@ -1000,7 +1000,7 @@ export class Server {
1000
1000
}
1001
1001
} , this . maxConnectionAgeMs + jitter ) . unref ?.( ) ;
1002
1002
}
1003
- const keeapliveTimeTimer : NodeJS . Timer | null = setInterval ( ( ) => {
1003
+ const keeapliveTimeTimer : NodeJS . Timeout | null = setInterval ( ( ) => {
1004
1004
const timeoutTImer = setTimeout ( ( ) => {
1005
1005
sessionClosedByServer = true ;
1006
1006
if ( this . channelzEnabled ) {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class SubchannelPool {
45
45
/**
46
46
* A timer of a task performing a periodic subchannel cleanup.
47
47
*/
48
- private cleanupTimer : NodeJS . Timer | null = null ;
48
+ private cleanupTimer : NodeJS . Timeout | null = null ;
49
49
50
50
/**
51
51
* A pool of subchannels use for making connections. Subchannels with the
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class Http2Transport implements Transport {
81
81
/**
82
82
* Timer reference for timeout that indicates when to send the next ping
83
83
*/
84
- private keepaliveTimerId : NodeJS . Timer | null = null ;
84
+ private keepaliveTimerId : NodeJS . Timeout | null = null ;
85
85
/**
86
86
* Indicates that the keepalive timer ran out while there were no active
87
87
* calls, and a ping should be sent the next time a call starts.
@@ -90,7 +90,7 @@ class Http2Transport implements Transport {
90
90
/**
91
91
* Timer reference tracking when the most recent ping will be considered lost
92
92
*/
93
- private keepaliveTimeoutId : NodeJS . Timer | null = null ;
93
+ private keepaliveTimeoutId : NodeJS . Timeout | null = null ;
94
94
/**
95
95
* Indicates whether keepalive pings should be sent without any active calls
96
96
*/
You can’t perform that action at this time.
0 commit comments