Skip to content

Commit

Permalink
Merge branch 'sync-dev' into 'dev'
Browse files Browse the repository at this point in the history
fix ogmios connection and health history cleanup issues

See merge request ergo/rosen-bridge/watcher!301
  • Loading branch information
vorujack committed Sep 22, 2024
2 parents 5e60cf6 + 5ed5a07 commit a673947
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 48 deletions.
File renamed without changes.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @rosen-bridge/watcher

## 3.2.2

### Patch Changes

- Fix ogmios parallel connections issue
- Fix issue in health check health history cleanup threshold value

## 3.2.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ healthCheck:
ergWarnThreshold: 1000000000 # minimum recommended erg balance
ergCriticalThreshold: 100000000 # minimum required erg balance
ergoScanner:
warnDifference: 2 # warning difference between existing and scanned blocks height
criticalDifference: 10 # critical difference between existing and scanned blocks height
warnDifference: 5 # warning difference between existing and scanned blocks height
criticalDifference: 20 # critical difference between existing and scanned blocks height
ergoNode:
maxHeightDifference: 2 # maximum difference between header height and full height
maxBlockTime: 30 # maximum time to see a new block in minutes
maxBlockTime: 30 # maximum time to see a new block in minutes
minPeerCount: 10 # minimum recommended peers
maxPeerHeightDifference: 2 # maximum difference between peers and our node
cardanoScanner:
Expand Down
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rosen-bridge/watcher",
"version": "3.2.1",
"version": "3.2.2",
"description": "Rosen bridge Watcher service",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -76,24 +76,24 @@
"dependencies": {
"@emurgo/cip14-js": "^3.0.1",
"@rosen-bridge/address-extractor": "^5.0.7",
"@rosen-bridge/asset-check": "^1.0.3",
"@rosen-bridge/asset-check": "^1.0.4",
"@rosen-bridge/bitcoin-esplora-scanner": "^0.1.14",
"@rosen-bridge/bitcoin-observation-extractor": "^4.0.7",
"@rosen-bridge/bitcoin-rpc-scanner": "^0.2.8",
"@rosen-bridge/discord-notification": "^0.1.3",
"@rosen-bridge/evm-observation-extractor": "^3.0.5",
"@rosen-bridge/evm-rpc-scanner": "^1.0.4",
"@rosen-bridge/health-check": "6.0.2",
"@rosen-bridge/log-level-check": "^1.0.2",
"@rosen-bridge/health-check": "6.0.3",
"@rosen-bridge/log-level-check": "^1.0.3",
"@rosen-bridge/minimum-fee": "^2.1.0",
"@rosen-bridge/node-sync-check": "^1.0.2",
"@rosen-bridge/node-sync-check": "^1.0.3",
"@rosen-bridge/observation-extractor": "^5.0.7",
"@rosen-bridge/permit-check": "^1.0.1",
"@rosen-bridge/permit-check": "^1.0.3",
"@rosen-bridge/scanner": "^4.1.3",
"@rosen-bridge/scanner-sync-check": "^1.0.1",
"@rosen-bridge/scanner-sync-check": "^1.0.3",
"@rosen-bridge/tokens": "^1.2.1",
"@rosen-bridge/watcher-data-extractor": "^8.0.2",
"@rosen-bridge/wid-check": "^1.0.1",
"@rosen-bridge/wid-check": "^1.0.3",
"@rosen-bridge/winston-logger": "0.2.1",
"@rosen-clients/cardano-koios": "^2.0.3",
"axios": "^0.26.1",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/healthCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class HealthCheckSingleton {
notificationCheckConfig: {
hasBeenUnstableForAWhile: {
windowDuration:
getConfig().notification.hasBeenUnknownForAWhileWindowDuration,
getConfig().notification.hasBeenUnstableForAWhileWindowDuration,
},
hasBeenUnknownForAWhile: {
windowDuration:
Expand Down

0 comments on commit a673947

Please sign in to comment.