Unleash / unleash-client-dotnet

Unleash client SDK for .NET
Apache License 2.0
77 stars 39 forks source link

feat: implement skipping backoff strategy #177

Closed daveleek closed 7 months ago

daveleek commented 7 months ago

Description

Implements a backoff strategy for metrics and features endpoints based on skipping scheduled polls/posts. Specific failed request responses (401, 403, 404, 429, 500, 502, 503, 504) increases amount of requests to skip. 10 skips in a row is maximum. 401, 403, 404 cause the skip counter to increase to 10 immediately

Type of change

How Has This Been Tested?

Unit tests to provoke the behavior has been added

Checklist: