Skip to content

the heartbeat check should not be ON by default #595

Open

Description

@mrpollo

We currently impose our heartbeat checks on all apps that use DroneKit, we should aim to give developers the freedom to deal with the heartbeat issues on their own.

I propose the following:

  • heartbeat check is disabled by default
  • expose heartbeat timeout callbacks
  • cleanup the current heartbeat checks, it's not 100% clear and can cause confusion when reading

Since this is a breaking change, we should aim to have this by v3.0.0

Activity

  1. self-assigned this
    on Feb 26, 2016
  2. added this to the Major milestone on Feb 26, 2016
  3. hamishwillee commented on Feb 28, 2016

    @hamishwillee
    Contributor

    @mrpollo Well you can do all this currently - just set a large default heartbeat and monitor the last_heartbeat to implement your own hearbeat management via callbacks.

    I certainly don't agree with the heartbeat check disabled by default

    It would be good to more transparently disable it (set value to 0). I kind of think monitoring the last heartbeat and creating your own callbacks is a cleaner api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions