File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,11 @@ export class HttpClient implements Server.IHttpClient {
15
15
// We receive multiple response packets every ms but we don't need to be very aggressive here.
16
16
private static STUCK_RESPONSE_CHECK_INTERVAL = 10000 ;
17
17
18
- private defaultUserAgent : string ;
19
- private cleanupData : ICleanupRequestData [ ] ;
18
+ private defaultUserAgent : string ;
20
19
21
20
constructor ( private $logger : ILogger ,
22
21
private $proxyService : IProxyService ,
23
22
private $staticConfig : Config . IStaticConfig ) {
24
- this . cleanupData = [ ] ;
25
23
}
26
24
27
25
public async httpRequest ( options : any , proxySettings ?: IProxySettings ) : Promise < Server . IResponse > {
@@ -101,7 +99,6 @@ export class HttpClient implements Server.IHttpClient {
101
99
const result = new Promise < Server . IResponse > ( ( resolve , reject ) => {
102
100
let timerId : NodeJS . Timer ;
103
101
const cleanupRequestData : ICleanupRequestData = Object . create ( { timers : [ ] } ) ;
104
- this . cleanupData . push ( cleanupRequestData ) ;
105
102
106
103
const promiseActions : IPromiseActions < Server . IResponse > = {
107
104
resolve,
You can’t perform that action at this time.
0 commit comments