Skip to content

Commit

Permalink
reduced completion timer
Browse files Browse the repository at this point in the history
  • Loading branch information
STetsing committed Jul 15, 2024
1 parent 5d5f356 commit d8a9adf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class RemixInLineCompletionProvider implements monacoTypes.languages.Inli
};

this.completionEnabled = false
const handleCompletionTimer = new CompletionTimer(1000, () => { this.completionEnabled = true });
const handleCompletionTimer = new CompletionTimer(100, () => { this.completionEnabled = true });
handleCompletionTimer.start()

return {
Expand Down Expand Up @@ -150,7 +150,7 @@ export class RemixInLineCompletionProvider implements monacoTypes.languages.Inli

// handle the completion timer by locking suggestions request for 2 seconds
this.completionEnabled = false
const handleCompletionTimer = new CompletionTimer(2000, () => { this.completionEnabled = true });
const handleCompletionTimer = new CompletionTimer(100, () => { this.completionEnabled = true });
handleCompletionTimer.start()

return {
Expand Down

0 comments on commit d8a9adf

Please sign in to comment.