Skip to content

Expose heartbeat parameter(s) or some other method of detecting active connection #451

@mikerob

Description

@mikerob

Under DKPY1, this was raised: #112

DKPY2 already appears to monitor heartbeat status, but there's no way to directly acess it, or (it seems) reliably detect an active connection.

For example, I fI run vehicle.close(), I can still access all of the saved data and there's no clear indication I've lost my connection.

Just being able to see either time of last heartbeat or time since last heartbeat would allow the user to manage timeouts themselves with staged behaviour.

I see there's an exception thrown, but that's after 30s (which isn't customisable). IF you want to catch a timeout before that, you don't appear to have an option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions