Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
refactor/keepAlive
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresAil committed Sep 13, 2023
1 parent 6baa58d commit 3c39cd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/KlapAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default class KlapAPI extends API {
})
},
httpAgent: new http.Agent({
keepAlive: true
keepAlive: false
})
});
}
Expand Down
4 changes: 2 additions & 2 deletions src/api/LegacyAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class LegacyAPI extends API {
: {})
},
httpAgent: new http.Agent({
keepAlive: true
keepAlive: false
})
}
);
Expand Down Expand Up @@ -108,7 +108,7 @@ export default class LegacyAPI extends API {
Cookie: this.handshakeData.cookie!
},
httpAgent: new http.Agent({
keepAlive: true
keepAlive: false
})
}
);
Expand Down

0 comments on commit 3c39cd0

Please sign in to comment.