[git] GPGME - branch, master, updated. gpgme-1.12.0-14-g9b6ed6a
by Maximilian Krambach
cvs at cvs.gnupg.org
Wed Oct 17 13:13:36 CEST 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, master has been updated
via 9b6ed6a80fc78927de32430706c5b25c1bf07178 (commit)
from ff6ff616aea6f59b7f2ce1176492850ecdf3851e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9b6ed6a80fc78927de32430706c5b25c1bf07178
Author: Maximilian Krambach <maximilian.krambach at intevation.de>
Date: Wed Oct 17 13:13:31 2018 +0200
js: increase default startup timeout
--
* src/index.js: change the init default if none is given, so that all
initialization defaults line up to 1000 miliseconds
diff --git a/lang/js/src/index.js b/lang/js/src/index.js
index b8e4274..db29afe 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(
-----------------------------------------------------------------------
Summary of changes:
lang/js/src/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list