Skip to content

Unsubscribe #3

@paultanner

Description

@paultanner

I'm working on a version of my stuff that will resubscribe when pachube drops a subscription (possibly due to a server restart or whatever). I detect this with a watchdog timer as there is no other indication that this has happened.

I thought it best to unsubscribe everything and then resubscribe so I tried the unsubscribe function in this node module for the first time. It comes back on complete but I notice when testing that the unsubscribe has not taken place.

Looking at the code it seems that a new token is generated for the unsubscribe request. The pachube spec requires that the token be the one used to subscribe in the first place. The app has this and can pass it back in but it's ignored.

Paul

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions