c-sharp icon indicating copy to clipboard operation
c-sharp copied to clipboard

Avoids retrying on 403s

Open emorell96 opened this issue 4 years ago • 0 comments

This pull request is a fix for retrying on 403s. From a consumer perspective retrying on 403s is extremely expensive since Pubnub charges per transaction even if it's a 403. So this fix that issue by checking the pnstatus and only retrying is the status is not AccessDeniedCategory.

If it is access denied category, then it announces it so that the user can implement its own retry logic.

Fixes: https://github.com/pubnub/c-sharp/issues/122

emorell96 avatar Dec 07 '21 10:12 emorell96