mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 01:05:49 +01:00
set timeout for the initial sync seed request
This commit is contained in:
@@ -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')
|
||||
};
|
||||
Reference in New Issue
Block a user