Skip to content

Commit

Permalink
feat: disable httpClient keepAlive
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadzurami committed Oct 30, 2024
1 parent 59a2a72 commit 8f18ece
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ const TeamFortress2 = require('./index.js');
const Language = require('./language.js');
const Schema = require('./protobufs/generated/_load.js');

const httpClient = new HttpClient({
httpAgent: new HttpAgent({ keepAlive: true, timeout: 10000 }),
httpsAgent: new HttpsAgent({ keepAlive: true, timeout: 10000 })
});
const httpClient = new HttpClient({ httpAgent: new HttpAgent(), httpsAgent: new HttpsAgent() });

const handlers = TeamFortress2.prototype._handlers;

Expand Down

0 comments on commit 8f18ece

Please sign in to comment.