Open laksnv opened 8 months ago
I'll need to look at the content of the SdkServiceException
class to see if there's some convenient helpers for this, but handling additional cases of server-side issues like this as part of the catch (SdkServiceException e)
block makes sense.
Excluding handling of Throttling exceptions, Flux currently doesn't have a mechanism to backoff before retrying Poll requests. There are at least a couple of cases where it makes sense to back off by different amounts:
LimitExceededException
- When service returns this, there are already close to 1000 Polls waiting in SWF for Tasks. Polling more is just waste of resourceThere is a fixed 10ms backoff between Poll requests, which can be improved.
Thoughts?