harness / ff-dotnet-server-sdk

.net Server SDK for integrating with Harness Feature Flag service.
https://harness.io/
Apache License 2.0
5 stars 10 forks source link

Auth failures retry forever #44

Closed mattbartel-tyler closed 11 months ago

mattbartel-tyler commented 2 years ago

If an invalid API key is provided, this sdk will retry forever using that bad API key instead of throwing an exception. This makes it difficult to use in our APIs since calls will just hang if bad config is provided.

If it was possible to expose the auth error and stop the timer that would be great. Maybe a new config value for max number of retries as well.

chrisbarbour commented 1 year ago

@bmjen I think this one can be closed now, I have added a max retries config and defaulted to 10.

sdoffen commented 1 year ago

In 1.1.7 the max retries is a readonly property, it would be nice if we could actually configure that.