prosemeteor / prosemirror

Prosemirror integration for Meteor.js
MIT License
18 stars 2 forks source link

Run health check against existing authority on server before returning to client #25

Open ejfrancis opened 7 years ago

ejfrancis commented 7 years ago

When an existing Authority is found to be hosting a doc, we must make sure it's still healthy before providing the client with that URL to connect to. See this line in AuthorityManager, that Authority URL should be checked. I believe it should be as simple as running runSingleHealthCheck first and checking the result