Skip to content

If there are no open files, do not schedule ensureProjectForOpenFiles #41537

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

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

sheetalkamat
Copy link
Member

Found while working on #39656

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 14, 2020
Copy link
Member

@amcasey amcasey left a comment

Choose a reason for hiding this comment

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

The checkTimeoutQueueLengthAndRun change looks unrelated. Otherwise, LGTM.

@sheetalkamat
Copy link
Member Author

The checkTimeoutQueueLengthAndRun change looks unrelated.

This shows that we are not scheduling ensuring project for open files when there are no open files. In all those test cases there are no open files. Just external projects

@sheetalkamat sheetalkamat merged commit 2cc67ec into master Nov 19, 2020
@sheetalkamat sheetalkamat deleted the ensureOpenProjects branch November 19, 2020 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants