reduced completion timer

pull/5370/head
Stéphane Tetsing 4 months ago committed by Aniket
parent 0a66c5f62e
commit 7416041f99
  1. 4
      libs/remix-ui/editor/src/lib/providers/inlineCompletionProvider.ts

@ -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 {
@ -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 {

Loading…
Cancel
Save