pipelinedb / gostride

Go client for Stride

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve Subscription error handling

derekjn opened this issue · comments

Currently it's awkward to recover any errors produced while a Subscription is running or even when it fails to start (due to throttling, etc.).

Because of the way Subscriptions work, it doesn't really make sense to return errors from Start because it they will keep retrying if the initial connection fails. So what we really want here is a status check that checks if the underlying connection is currently active/established.