Skip to content

Conversation

@nbbeeken
Copy link
Contributor

Description

What is changing?

We accidentally left a sinon spy outstanding which accumulates memory for all the usages of the function. It started to cause an issue on my connect expirementation PR because failures seems to exagerrate the problem, with this change the memory usage of a test run remains constant.

What is the motivation for this change?

Quick fix to help others that might hit this.

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@baileympearson baileympearson merged commit 95e1231 into main Apr 12, 2022
@baileympearson baileympearson deleted the chore/fix-leak branch April 12, 2022 19:26
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.

4 participants