From 5d5719dfef50beec7910f09e84e165f9cdca1c51 Mon Sep 17 00:00:00 2001 From: Joe Uhren Date: Sun, 21 Nov 2021 13:22:24 -0700 Subject: [PATCH] Updated check mode verbiage -Remove reference to index_timeout setting which doesn't exist and add reference to sync.update_timeout --- README.md | 4 ++-- scripts/sync.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5f1a899..9e2ace5 100644 --- a/README.md +++ b/README.md @@ -420,8 +420,8 @@ masternodes Updates the list of active masternodes on the network Notes: - 'current block' is the latest created block when script is executed. - The market + peers databases only support (& defaults to) reindex mode. -- If check mode finds missing data(ignoring new data since last sync), - index_timeout in settings.json is set too low. +- If check mode finds missing data (other than new data since last sync), + this likely means that sync.update_timeout in settings.json is set too low. ``` *It is recommended to have this script launched via a cronjob at 1+ min intervals.* diff --git a/scripts/sync.js b/scripts/sync.js index 07000c9..0a79ebc 100644 --- a/scripts/sync.js +++ b/scripts/sync.js @@ -28,8 +28,8 @@ function usage() { console.log('Notes:'); console.log('- \'current block\' is the latest created block when script is executed.'); console.log('- The market + peers databases only support (& defaults to) reindex mode.'); - console.log('- If check mode finds missing data (ignoring new data since last sync),'); - console.log(' index_timeout in settings.json is set too low.'); + console.log('- If check mode finds missing data (other than new data since last sync),'); + console.log(' this likely means that sync.update_timeout in settings.json is set too low.'); console.log(''); process.exit(0); }