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} * @async */ -function init ({ timeout = 500 } = {}){ +function init ({ timeout = 1000 } = {}){ return new Promise(function (resolve, reject){ const connection = new Connection; connection.checkConnection(false, timeout).then(