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

jobs: Don't wait for GetModuleDataFromRegistry job #1332

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

dbanck
Copy link
Member

@dbanck dbanck commented Jul 27, 2023

This job may make an HTTP request and we schedule it in the low priority queue so we don't want to wait for it.

This can significantly reduce the request time for the didOpen and didChange calls.

Before
CleanShot 2023-07-27 at 18 03 40@2x

After
CleanShot 2023-07-27 at 18 04 07@2x

Another improvement might be not to schedule this job if there are no external module calls in a file.

@dbanck dbanck added the performance Gotta go fast label Jul 27, 2023
@dbanck dbanck requested a review from a team as a code owner July 27, 2023 16:05
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

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

LGTM but I think we should at least track an issue for the other bug we found while working on this, where the two reference collection jobs right above run without sufficient schema, resulting in missing references.

This job may make an HTTP request, and we schedule it in the
low-priority queue, so we don't want to wait for it.
@dbanck dbanck merged commit d4477c1 into main Aug 1, 2023
21 checks passed
@dbanck dbanck deleted the f-avoid-module-wait branch August 1, 2023 09:16
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
performance Gotta go fast
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants