Skip to content

Conversation

@andrija-hers
Copy link
Contributor

Majority of the proposed PR deals with proper handling of variables so that the garbage collector can easily do its job.

Besides the memleak-removal stuff, we added 2 more options for the Utils instance:

  1. nocache - if true-ish, then the Utils instance will not cache anything (especially important for the case of saving the response from superagent, that leads to heavy memory consumption)
  2. timeout - if present, it will be used against the superagent Response, so that problematic links do not take too long to complete

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