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

Expands how cancellable requests work #236

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

jmgomez
Copy link
Collaborator

@jmgomez jmgomez commented Sep 16, 2024

Now they are PendingRequests and we keep track of the nimsuggest instance that depends on it (when possible) and also the time it got triggered. The pending requests are shown in the extension status panel, later we will be using the active pending requests to determine if a given instance of ns is hanging so we can restart it without user intervention

image

Notice the Pending Requests (15) in the img above are there because the ls is not removing complete requests, but in a regular usage they shouldnt be there (we may introduce a toggle for debugging purposes that dont remove them when complete) or we could just show all and remove complete ones after certain period has passed since it was completed

Now they are `PendingRequests` and we keep track of the nimsuggest instance that depends on it (when possible) and also the time it got triggered. The pending requests are shown in the extension status panel, later we will be using the active pending requests to determine if a given instance of ns is hanging so we can restart it without user intervention
@jmgomez jmgomez merged commit dc9a4ce into nim-lang:master Sep 17, 2024
1 check passed
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