Desktop: Set keep-alive on http(s) requests (#4625)

pull/4660/head
Roman Musin 2021-03-11 14:29:35 +00:00 committed by GitHub
parent 586fe2c690
commit 7eb9305448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ function shimInit(sharp = null, keytar = null, React = null) {
shim.httpAgent_ = null;
shim.httpAgent = url => {
if (shim.isLinux() && !shim.httpAgent) {
if (shim.isLinux() && !shim.httpAgent_) {
const AgentSettings = {
keepAlive: true,
maxSockets: 1,