aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/js/src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/js/src/index.js b/lang/js/src/index.js
index b8e4274d..db29afe1 100644
--- a/lang/js/src/index.js
+++ b/lang/js/src/index.js
@@ -38,7 +38,7 @@ import { Connection } from './Connection';
* @returns {Promise<GpgME>}
* @async
*/
-function init ({ timeout = 500 } = {}){
+function init ({ timeout = 1000 } = {}){
return new Promise(function (resolve, reject){
const connection = new Connection;
connection.checkConnection(false, timeout).then(