From 7be5016bb20796823072c64f49c074d9eb0e3af1 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sun, 2 Aug 2020 13:53:17 -0400 Subject: [PATCH] use timeout2 on first try --- services/gunDB/contact-api/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gunDB/contact-api/utils/index.js b/services/gunDB/contact-api/utils/index.js index a5951e16..a35bbea5 100644 --- a/services/gunDB/contact-api/utils/index.js +++ b/services/gunDB/contact-api/utils/index.js @@ -111,7 +111,7 @@ const tryAndWait = async (promGen, shouldRetry = () => false) => { let resolvedValue try { - resolvedValue = await timeout5( + resolvedValue = await timeout2( promGen( require('../../Mediator/index').getGun(), require('../../Mediator/index').getUser()