Describe the bug
Running the subscription service in our own hosting prcoess, and the eventstore conenction was destroyed (after 10 reconnects). The CancellationToken passed into the .Start method:
Is not set to cancel, therefore, our hosting loop continues on when there is no chance of this returning to a working state.
To Reproduce
Steps to reproduce the behavior:
Pick an eventstore url which is not running.
Start the service and let it attempt it's reconencts (default is 10)
Expected behavior
At the very least, our service should be indicating there has been a problem to the hosting process.
Just now, our hosting process has a try catch, but has no way to know if the task itself should be cancelled.
Additional context
This is using version 1.0.1 of the subscription service.
Describe the bug Running the subscription service in our own hosting prcoess, and the eventstore conenction was destroyed (after 10 reconnects). The CancellationToken passed into the .Start method:
await this.SubscriptionService.Start(subscriptions, stoppingToken);
Is not set to cancel, therefore, our hosting loop continues on when there is no chance of this returning to a working state.
To Reproduce Steps to reproduce the behavior:
Expected behavior At the very least, our service should be indicating there has been a problem to the hosting process. Just now, our hosting process has a try catch, but has no way to know if the task itself should be cancelled.
Additional context
This is using version 1.0.1 of the subscription service.