From 50a4522e36444d7ccc1e13f5f593ecbcd69ae349 Mon Sep 17 00:00:00 2001 From: ochikov Date: Mon, 19 Dec 2022 17:26:43 +0200 Subject: [PATCH] Update the addressbook update to be 24 hours Signed-off-by: ochikov --- src/client/Client.js | 2 +- src/network/AddressBookQuery.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/client/Client.js b/src/client/Client.js index 926699f6a..297946a5b 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -141,7 +141,7 @@ export default class Client { this._requestTimeout = null; /** @private */ - this._networkUpdatePeriod = 10000; + this._networkUpdatePeriod = 24 * 60 * 60 * 1000; /** @private */ this._isShutdown = false; diff --git a/src/network/AddressBookQuery.js b/src/network/AddressBookQuery.js index 62269959c..9404ee308 100644 --- a/src/network/AddressBookQuery.js +++ b/src/network/AddressBookQuery.js @@ -224,10 +224,6 @@ export default class AddressBookQuery { const message = error instanceof Error ? error.message : error.details; console.log("ERROR:", error); - console.log( - "ERRORED, but CLIENT CLOSE IS", - client.isClientShutDown - ); if ( this._attempt < this._maxAttempts && !client.isClientShutDown &&