mirror of https://github.com/laurent22/joplin.git
Desktop: Set keep-alive on http(s) requests (#4625)
parent
586fe2c690
commit
7eb9305448
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue