set timeout for the initial sync seed request

This commit is contained in:
zadam
2019-12-29 10:19:00 +01:00
parent 2502646a64
commit eee9fcae5c
3 changed files with 3 additions and 32 deletions

View File

@@ -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) {