Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Add RTNS Reconnecter Script #332

Merged
merged 1 commit into from
Apr 27, 2019
Merged

Add RTNS Reconnecter Script #332

merged 1 commit into from
Apr 27, 2019

Conversation

bonedaddy
Copy link
Contributor

👷 Purpose

Occasionally IPNS publishes through RTNS may fail due to a no peers in dht error.

🚀 Changes

Small script that checks for connections to our two IPNS publisher nodes, and if not connected, issue a ipfs swarm connect

⚠️ Breaking Changes

None

This script handles reconnecting our main ipfs node with our rtns republisher node. This avoids publish failures due to no peers being found
@codecov
Copy link

codecov bot commented Apr 27, 2019

Codecov Report

Merging #332 into master will increase coverage by 0.39%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #332      +/-   ##
==========================================
+ Coverage   53.33%   53.71%   +0.39%     
==========================================
  Files          49       49              
  Lines        4450     4450              
==========================================
+ Hits         2373     2390      +17     
+ Misses       1597     1580      -17     
  Partials      480      480
Impacted Files Coverage Δ
queue/ipfs_cluster.go 71.28% <0%> (+2.13%) ⬆️
queue/ipfs.go 55.95% <0%> (+3.09%) ⬆️
queue/mail.go 82.23% <0%> (+17.78%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34f5db8...a4fe21f. Read the comment docs.

@bonedaddy bonedaddy merged commit f0a7f78 into master Apr 27, 2019
@bonedaddy bonedaddy deleted the scripts/rtns#connector branch April 27, 2019 10:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants