Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor local syncthing status #712

Merged
merged 1 commit into from
Feb 26, 2020
Merged

Monitor local syncthing status #712

merged 1 commit into from
Feb 26, 2020

Conversation

pchico83
Copy link
Contributor

Fixes #662

@codecov
Copy link

codecov bot commented Feb 26, 2020

Codecov Report

Merging #712 into master will decrease coverage by 0.05%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #712      +/-   ##
==========================================
- Coverage   33.59%   33.54%   -0.06%     
==========================================
  Files          57       57              
  Lines        4325     4332       +7     
==========================================
  Hits         1453     1453              
- Misses       2777     2784       +7     
  Partials       95       95
Impacted Files Coverage Δ
pkg/syncthing/syncthing.go 0.7% <ø> (ø) ⬆️
pkg/syncthing/monitor.go 0% <0%> (ø) ⬆️

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 351fa02...ee7d94a. Read the comment docs.

log.Infof("syncthing connections unmarshalling failed: %s", err)
return false
}
if status.Connections == nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we should retry a few times before failing?

@pchico83
Copy link
Contributor Author

@pchico83 pchico83 merged commit dcab4f7 into master Feb 26, 2020
@pchico83 pchico83 deleted the monitor-local branch February 26, 2020 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Monitor the state of the local syncthing process
2 participants