Skip to content

Conversation

@weissi
Copy link
Contributor

@weissiweissi commented Aug 19, 2019

  • README suggested that you should shut down the client in a defer block right after calling get which will not actually work because the get is asynchronous so returns before it's done
  • README said that if you share the EventLoop you don't need to shut down the HTTPClient which is not true
  • README didn't make it clear that using HTTPClient(eventLoopGroupProvider: .createNew) is an acceptable thing to write in many places but it's really resource inefficient

- README suggested that you should shut down the client in a `defer` block right after calling `get` which will not actually work because the `get` is asynchronous so returns before it's done - README said that if you share the `EventLoop` you don't need to shut down the `HTTPClient` which is not true - README �didn't make it clear that using `HTTPClient(eventLoopGroupProvider: .createNew)` is an acceptable thing to write in many places but it's really resource inefficient
@artemredkinartemredkin merged commit 6c6162b into masterAug 19, 2019
@artemredkinartemredkin deleted the jw-repair-readme branch August 19, 2019 13:37
Sign up for freeto 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.

3 participants

@weissi@artemredkin