Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check memory usage only if jedi is used and reduce frequency of these checks #1510

Merged
merged 2 commits into from
Apr 27, 2018

Conversation

DonJayamanne
Copy link

@DonJayamanne DonJayamanne commented Apr 26, 2018

Fixes #1277

Fundamental changes:

  • Use settimeout instead of setinterval (the requests were getting piled up with setinterval).
  • I've reduced the frequency of checks from 2 seconds to 15 seconds.
  • Check memory usage only if jedi is used>

This pull request:

  • Has a title summarizes what is changing
  • Includes a news entry file (remember to thank yourself!)
  • [n/a] Has unit tests & code coverage is not adversely affected (within reason)
  • [n/a] Works on all actively maintained versions of Python (e.g. Python 2.7 & the latest Python 3 release)
  • [n/a] Works on Windows 10, macOS, and Linux (e.g. considered file system case-sensitivity)

@DonJayamanne DonJayamanne merged commit 15f2a14 into microsoft:master Apr 27, 2018
@DonJayamanne DonJayamanne deleted the issue1277WMIC branch June 20, 2018 03:18
@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vscode-python repeatedly launching wmic
2 participants