Skip to content

Instantly share code, notes, and snippets.

@sqrtofsaturn
Last active November 14, 2016 19:39
Show Gist options
  • Save sqrtofsaturn/56a2000e6cc40f52dd235c5ea99922be to your computer and use it in GitHub Desktop.
Save sqrtofsaturn/56a2000e6cc40f52dd235c5ea99922be to your computer and use it in GitHub Desktop.
connector status explanation

When the connector is responding to pings:

  • the online checks error, the status is 'connector error'
  • the online check responds with a {running: true}, the status is 'connector is running'
  • the online check responds with a {running: { $ne: true } }, the status is 'connector is responding to pings'

When the connector is not responding to pings:

  • the connector-runner is connected via meshblu-socket.io, the status is 'thing is online'
  • the connector-runner is not connected via meshblu-socket.io, the status is 'thing is offline'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment