diff --git a/.idea/dataSources/a2c75661-f9e2-478f-a69f-6a9409e69997.xml b/.idea/dataSources/a2c75661-f9e2-478f-a69f-6a9409e69997.xml
index b6650b657..094828c17 100644
--- a/.idea/dataSources/a2c75661-f9e2-478f-a69f-6a9409e69997.xml
+++ b/.idea/dataSources/a2c75661-f9e2-478f-a69f-6a9409e69997.xml
@@ -57,7 +57,6 @@
1
apiTokenId
-
1
@@ -126,21 +125,17 @@
1
attributeId
-
1
noteId
-
name
value
-
value
-
attributeId
@@ -202,17 +197,14 @@ value
1
branchId
-
1
noteId
parentNoteId
-
parentNoteId
-
branchId
@@ -243,7 +235,6 @@ parentNoteId
1
noteId
-
1
@@ -274,7 +265,6 @@ parentNoteId
1
noteRevisionId
-
1
@@ -359,28 +349,22 @@ parentNoteId
1
noteRevisionId
-
1
noteId
-
utcDateLastEdited
-
utcDateCreated
-
dateLastEdited
-
dateCreated
-
noteRevisionId
@@ -462,36 +446,28 @@ parentNoteId
1
noteId
-
1
title
-
type
-
isDeleted
-
dateCreated
-
dateModified
-
utcDateCreated
-
utcDateModified
-
noteId
@@ -532,7 +508,6 @@ parentNoteId
1
name
-
1
@@ -568,7 +543,6 @@ parentNoteId
1
noteId
-
1
@@ -589,12 +563,10 @@ parentNoteId
1
sourceId
-
1
utcDateCreated
-
sourceId
@@ -656,12 +628,10 @@ parentNoteId
entityName
entityId
-
1
utcSyncDate
-
id
diff --git a/src/services/setup.js b/src/services/setup.js
index f1ec10f39..397a95ebf 100644
--- a/src/services/setup.js
+++ b/src/services/setup.js
@@ -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) {
diff --git a/src/services/sync_options.js b/src/services/sync_options.js
index b497dba2d..c8266aa5b 100644
--- a/src/services/sync_options.js
+++ b/src/services/sync_options.js
@@ -23,6 +23,6 @@ module.exports = {
// and we need to override it with config from config.ini
return !!syncServerHost && syncServerHost !== 'disabled';
},
- getSyncTimeout: async () => parseInt(await get('syncServerTimeout')),
+ getSyncTimeout: async () => parseInt(await get('syncServerTimeout')) || 60000,
getSyncProxy: async () => await get('syncProxy')
};
\ No newline at end of file