Skip to content

Commit

Permalink
Updated check mode verbiage
Browse files Browse the repository at this point in the history
-Remove reference to index_timeout setting which doesn't exist and add reference to sync.update_timeout
  • Loading branch information
joeuhren committed Nov 21, 2021
1 parent 054ac86 commit 5d5719d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
4 changes: 2 additions & 2 deletions scripts/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5d5719d

Please sign in to comment.