From 49e6b5cf62e88c2917bb94d7d13aacdbc237d941 Mon Sep 17 00:00:00 2001 From: Roman Musin Date: Fri, 26 Mar 2021 09:09:19 +0000 Subject: [PATCH] Desktop: Set keep-alive for WebDAV/Nextcloud sync (#4668) --- packages/lib/shim-init-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/shim-init-node.js b/packages/lib/shim-init-node.js index eb73759dd..6d9f595fe 100644 --- a/packages/lib/shim-init-node.js +++ b/packages/lib/shim-init-node.js @@ -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.httpAgent_) { const AgentSettings = { keepAlive: true, maxSockets: 1,