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

@@ -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')
};