mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-17 18:44:45 +02:00
Desktop: Set keep-alive for WebDAV/Nextcloud sync (#4668)
This commit is contained in:
parent
81b3ddf0e7
commit
49e6b5cf62
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user