Skip to content

Conversation

@grahamburgsma
Copy link
Contributor

I've fixed the memory issue that I was seeing in #25. I think it had to do with the getData and getBytes usage, but not entirely sure why. To make it easier and simplify the code I switched out HTTPClient for Vapor's Client which is nicer to use. I also generalized the error handing since it differed slightly in multiple places.

You can see here the memory usage is a lot better after sending notifications.
Screen Shot 2020-08-11 at 8 25 09 AM

@MihaelIsaev MihaelIsaev merged commit 919d41a into MihaelIsaev:master Aug 12, 2020
@grahamburgsma grahamburgsma deleted the memory-issues branch August 12, 2020 12:10
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.

2 participants