Skip to content

Conversation

@mudar
Copy link

@mudar mudar commented Feb 8, 2021

Hi,
This PR is related to the enhancement feature I suggested in issue #64. I tried to add the CLI implementation too, but I'm not quite sure about the quality of my code there 😜
The last commit fixes a strange issue I ran into, where the RateLimitInterceptor seems to leave the okhttpClient hanging once it throws a dns exception.
cheers,
mudar

mudar added 3 commits February 8, 2021 14:51
Send request to a non-existing endpoint to validate token based on error
type.
Return original response when RATE_LIMIT is not provided.
Using default empty value for Thread.sleep(0) seems to create an issue
for the okhttpClient: after hitting a first UnknownHostException (ex:
airplane mode), following calls after restoring network connection will
hang, returning no response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant