pinokiod 3.8.72 → 3.8.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/kernel/peer.js CHANGED
@@ -46,6 +46,7 @@ class PeerDiscovery {
46
46
  }
47
47
  }
48
48
  async _broadcast(host) {
49
+ console.log("peer _broadcast", host)
49
50
  try {
50
51
  let res = await axios.post(`http://${host}:${this.default_port}/pinokio/peer/refresh`, {
51
52
  timeout: 2000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.72",
3
+ "version": "3.8.73",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -3320,6 +3320,7 @@ class Server {
3320
3320
  }))
3321
3321
  this.app.post("/pinokio/peer/refresh", ex(async (req, res) => {
3322
3322
  // refresh and broadcast
3323
+ console.log("/peer/refresh")
3323
3324
  await this.kernel.refresh()
3324
3325
  res.json({ success: true })
3325
3326
  }))