Skip to content

Commit

Permalink
Merge pull request #117 from DIG-Network/release/v0.0.1-alpha.123
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.123
  • Loading branch information
MichaelTaylor3D authored Oct 7, 2024
2 parents ba102fe + 0449ca9 commit 69cf497
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.0.1-alpha.123](https://github.com/DIG-Network/dig-propagation-server/compare/v0.0.1-alpha.122...v0.0.1-alpha.123) (2024-10-07)

### [0.0.1-alpha.122](https://github.com/DIG-Network/dig-propagation-server/compare/v0.0.1-alpha.121...v0.0.1-alpha.122) (2024-10-06)


Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dig-propagation-server",
"version": "0.0.1-alpha.122",
"version": "0.0.1-alpha.123",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand All @@ -26,7 +26,7 @@
],
"dependencies": {
"@dignetwork/datalayer-driver": "^0.1.28",
"@dignetwork/dig-sdk": "^0.0.1-alpha.155",
"@dignetwork/dig-sdk": "^0.0.1-alpha.156",
"async-mutex": "^0.5.0",
"busboy": "^1.6.0",
"express": "^4.19.2",
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/sync_stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const processPeer = async (peerIp: string, storeId: string, rootHash: string, ch
checkedPeers.add(peerIp); // Mark as checked only if peer has the rootHash
} else {
console.log(`Dig Peer ${peerIp} does not have rootHash ${rootHash}. Pinging update.`);
await withTimeout( digPeer.propagationServer.pingUpdate(rootHash), 15000, "Dig Peer: ${peerIp} took to long to respond to ping request`");
await withTimeout( digPeer.propagationServer.pingUpdate(rootHash), 15000, `Dig Peer: ${peerIp} took to long to respond to ping request`);
// Do NOT mark as checked if peer lacks the rootHash
}
} catch (error: any) {
Expand Down

0 comments on commit 69cf497

Please sign in to comment.