mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
set timeout for the initial sync seed request
This commit is contained in:
@@ -71,7 +71,8 @@ async function setupSyncFromSyncServer(syncServerHost, syncProxy, username, pass
|
||||
'user': username,
|
||||
'pass': password
|
||||
},
|
||||
proxy: syncProxy
|
||||
proxy: syncProxy,
|
||||
timeout: 30000 // seed request should not take long
|
||||
});
|
||||
|
||||
if (resp.syncVersion !== appInfo.syncVersion) {
|
||||
|
||||
Reference in New Issue
Block a user